Ejemplo n.º 1
0
 public PlayerStatsController(ScreenManager screen, CharacterModel characterModel, GameOptions gameOptions)
     : base(screen)
 {
     this.PlayerStats = new PlayerStats(gameOptions.Lifes, characterModel.playerIndex);
     this.characterModel = characterModel;
     this.gameOptions = gameOptions;
 }
Ejemplo n.º 2
0
 public CharacterController(ScreenManager screen, GamepadController pad, Vector2 startPos, int countDown)
     : base(screen)
 {
     stats = pad.PlayerModel.SelectedCharacter;
     model = new CharacterModel(pad, startPos, countDown, stats);
     moves = new MoveController(Screen, stats, pad.PlayerIndex);
     this.pad = pad;
 }