Exemple #1
0
 public GameFacade()
 {
     gamePlayers  = new GamePlayers();
     mover        = new Mover();
     gamePlayers  = new GamePlayers();
     enemySpawner = new Enemies(mover);
     bestScore    = 0;
 }
Exemple #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;
 }