Exemplo n.º 1
0
 //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();
 }
Exemplo n.º 2
0
 public Idle1(Player1 player,string direction1) : base(player)
 {
     this.player = player;
     this.initialize();
     this.startpos = this.player.Position;
     this.direction1 = direction1;
   
     
 }
Exemplo n.º 3
0
 public Left1(Player1 player) : base(player)
 {
     this.player = player;
     this.initialize();
 }
Exemplo n.º 4
0
 public Up1(Player1 player) : base(player)
 {
     this.player = player;
     this.startPos = this.player.Position;
     this.initialize();
 }