public Player2(Texture2D player_texture, Rectangle hitbox) : base(2, player_texture, hitbox) { this.player_texture = player_texture; this.Position = new Vector2(400, 300); this.Velocity = new Vector2(0, 0); this.Speed = 0.01f; controlsplayer2 = new ControlsPlayer2(Position, Velocity, Speed); }
public Player2(Texture2D player_texture, Rectangle hitbox) : base(2, player_texture, hitbox) { this.player_texture = player_texture; this.Position = new Vector2(400, 300); this.Velocity = new Vector2(0, 0); this.Speed = 0.01f; controlsplayer2 = new ControlsPlayer2(Position, Velocity, Speed); }