Пример #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);
 }
Пример #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);
 }