コード例 #1
0
ファイル: GameFacade.cs プロジェクト: benmandr/JDDestroyer
 public GameFacade()
 {
     gamePlayers  = new GamePlayers();
     mover        = new Mover();
     gamePlayers  = new GamePlayers();
     enemySpawner = new Enemies(mover);
     bestScore    = 0;
 }
コード例 #2
0
ファイル: Bullet.cs プロジェクト: benmandr/JDDestroyer
 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;
 }