//constructor public PlayScene(TronGame game) { this.game = game; this.player = new Player1(this.game, new Vector2(32, 32), 7.5f, Color.Red, PlayerIndex.One); this.grid = new Grid(this.game); this.Initialize(); }
public Idle1(Player1 player,string direction1) : base(player) { this.player = player; this.initialize(); this.startpos = this.player.Position; this.direction1 = direction1; }
public Left1(Player1 player) : base(player) { this.player = player; this.initialize(); }
public Up1(Player1 player) : base(player) { this.player = player; this.startPos = this.player.Position; this.initialize(); }