float start; // collision start #endregion Fields #region Constructors public Player(Game game, ContentManager content, GraphicsDeviceManager graphics, UnitTypes.PlayerType playerType) : base(game, content, graphics) { this.playerType = playerType; //heightMapInfo = game.Services.GetService(typeof(HeightMapInfo)) as HeightMapInfo; shot = false; EnemyCollision = false; start = 0; //tank.Velocity = 3; Velocity = 3; }
public Player(Game game, UnitTypes.PlayerType playerType) : base(game) { this.playerType = playerType; }