public PlayerInputController(Player ply) { controlling = ply; keyIdentifiers = null; }
public void PlayerCollision(Player p) { if (OnPlayerCollision != null) OnPlayerCollision(p); }
void PlayerCollect(Player p) { switch (pType) { case PowerupType.BOMB_UP: p.BombUp(); break; case PowerupType.FIRE_UP: p.FireUp(); break; case PowerupType.SPEED_UP: p.SpeedUp(); break; } powerupSoundInstance.Play(); RemoveThis(); }