Projeto

Geral

Perfil

Revisão 17

blackmatter trail

Ver diferenças:

Blackminion.pde
51 51
    if (this.y <= this.diameter + 20)
52 52
      this.y = this.diameter + 20;
53 53
    
54
    if (this.input.fire () && (this.jammed == false))
55
      {
54
//    if (this.input.fire () && (this.jammed == false))
55
//      {
56 56
//      println ("FIRE!!!");
57 57
      this.fire ();
58
      this.jammed = true;
59
      this.timeout = 10;
60
      _game_.playBlackFire ();
61
      }
62
    else if (this.input.bomb () && (this.charging == 0))
58
     // this.jammed = true;
59
     // this.timeout = 10;
60
    //  _game_.playBlackFire ();
61
//      }
62
     if (this.input.fire () && (this.charging == 0))
63 63
      {
64 64
      this.bomb ();
65 65
      this.charging = 30;
66
      _game_.playBlackBomb ();
66
//      _game_.playBlackBomb ();
67 67
      }
68 68
    
69 69
    fill (1);
......
74 74
    }
75 75
    
76 76
  void fire ()
77
    {/*
77
    {
78 78
      
79 79
    Blackmatter matter = new Blackmatter ();
80 80
    
......
83 83
    
84 84
    matter.setup ();
85 85
    this.blacklord.blackmatter.add (matter);
86
    */
86
    
87 87
    }
88 88
    
89 89
  void bomb ()
90
    {/*
90
    {
91 91
    for (int i = 0; i < 10; i++)
92 92
      {
93 93
      Blackmatter matter = new Blackmatter ();
......
97 97
    
98 98
      matter.setup ();
99 99
      this.blacklord.blackmatter.add (matter);
100
      }*/
100
      }
101 101
    }
102 102
  }

Também disponível em: Unified diff