Ejemplo n.º 1
0
 // Constructor for power up object, contains bool value whether it has been collected or not
 // a Vector2D object of its location and an int containing its ID number.
 public PowerUp(Vector2D loc, int ident)
 {
     beenCollected = false;
     location      = loc;
     id            = ident;
 }