Exemplo n.º 1
0
 public GameFacade()
 {
     gamePlayers  = new GamePlayers();
     mover        = new Mover();
     gamePlayers  = new GamePlayers();
     enemySpawner = new Enemies(mover);
     bestScore    = 0;
 }
Exemplo n.º 2
0
 public Bullet(GamePlayers gamePlayers, GamePlayer gamePlayer, Position direction, Mover mover)
 {
     this.gamePlayers = gamePlayers;
     this.shooter     = gamePlayer;
     position         = (Position)gamePlayer.position.Clone();
     color            = gamePlayer.color;
     this.direction   = direction;
     this.mover       = mover;
 }