Example #1
0
 public AircraftModule(Player player, Vector2 center, float health)
 {
     player.Boundary.Size = PlayerBoundarySize;
     player.Boundary.MoveToCenter(center);
     ShootCalc     = new LineShootCalc();
     HealthMachine = 100;
     _rotation     = 0;
     MaxHealth     = 100;
     HealthMachine = health;
 }
Example #2
0
 public BuddyModule(Player player, Vector2 center)
 {
     player.Boundary.Size = PlayerBoundarySize;
     player.Boundary.MoveToCenter(center);
     RotLeg         = 0;
     RotationBody   = 0;
     WalkingVisible = false;
     ShootCalc      = new LineShootCalc();
     MaxHealth      = 100;
 }