Ejemplo n.º 1
0
 public Player(GameCore gameRef)
 {
     this.game = gameRef;
     ship = new SpaceShip(game, "resources/ships/player.ship");
     //ship.point = new Point(0,0);
     ship.point = new System.Drawing.Point((GameCore.screenSize.Width / 2) - (ship.sprite.imageRec.Width / 2), GameCore.screenSize.Height - ship.sprite.imageRec.Height);
 }
Ejemplo n.º 2
0
 public Npc(GameCore gameRef)
 {
     this.game = gameRef;
     ship = new SpaceShip(game, "resources/ships/cake.ship");
     ship.point = new System.Drawing.Point((GameCore.screenSize.Width / 2) - (ship.sprite.imageRec.Width / 2), 0);
 }