Ejemplo n.º 1
0
 public AtField(GameScene game, Direction direction, Baaka parent)
     : base(game, RECTANGLE, direction == Direction.Left ? parent.Center + new Vector(-32 - 16, -64) : parent.Center + new Vector(32 - 16, -64), Vector.Zero, INIT_HEALTH)
 {
     this.direction = direction;
     this.parent = parent;
     animation = 0;
     previousHealth = health;
     energy = 192;
 }
Ejemplo n.º 2
0
 public AtField(GameScene game, Direction direction, Baaka parent)
     : base(game, RECTANGLE, direction == Direction.Left ? parent.Center + new Vector(-32 - 16, -64) : parent.Center + new Vector(32 - 16, -64), Vector.Zero, INIT_HEALTH)
 {
     this.direction = direction;
     this.parent    = parent;
     animation      = 0;
     previousHealth = health;
     energy         = 192;
 }