Exemplo n.º 1
0
 public ShootTarget(InputManager inputManager, Player sourcePlayer)
     : base()
 {
     this.inputManager = inputManager;
     SourcePlayer = sourcePlayer;
     Hitbox = new Rectangle();
 }
Exemplo n.º 2
0
 public Character(Player player, InputManager inputManager, PlayerManager playerManager)
     : base()
 {
     Player = player;
     HasBall = player.PlayerIndex == PlayerIndex.One;
     InputManager = inputManager;
     PlayerManager = playerManager;
     IsInvincible = false;
     CurrentPass = Pass.StraightPass;
     CharacterState = CharacterStates.DefaultState;
     Position.Y = 310 + 100 * (int)Player.PlayerIndex;
     PickAggroBox = new Rectangle();
     PickDefendingBox = new Rectangle();
 }
Exemplo n.º 3
0
 public Jimothy(Player player, InputManager inputManager, PlayerManager playerManager)
     : base(player, inputManager, playerManager)
 {
     Speed = 5;
     Health = 30;
     MaxHealth = 30;
     PickHealth = 30;
     MaxPickHealth = 30;
     PickHealthRegenerationTimer = 0;
     PickHealthRegenerationRate = 5;
     Attack = 10;
     ShootAttack = 5;
     FacingLeft = false;
     AttackRange = new Vector2(40, 10);
     Tint = Color.White;
 }