예제 #1
0
 public ScreenMainMenu(ManagerScreen managerScreen, Stats stats, Equipment equipment)
     : base(managerScreen)
 {
     _stats = stats;
     _equipment = equipment;
     if(stats == null)
         managerScreen.GoBackOneScreen();
     _playerStatsGui = new PlayerStatsGui( WindowPosition.Up);
     _cursorPosition = new Vector2(0,0);
     _selectAlpha = 255;
     _instrumentColor = 255;
 }
 public void Update(Stats stats, Equipment equipment)
 {
     _stats = stats;
     _equipment = equipment;
 }