public ScreenOverworldMap(ManagerScreen managerScreen, ManagerPlayer managerPlayer, Vector2 cameraPosition)
     : base(managerScreen)
 {
     _managerPlayer = managerPlayer;
     _cameraPosition = cameraPosition;
     _cursorPosition = _cameraPosition;
     _cursorCounter = 0;
     _overworldMapObjects = new OverworldMapObjects();
 }
Beispiel #2
0
 public ScreenWorld(ManagerScreen managerScreen)
     : base(managerScreen)
 {
     _managerCamera = new ManagerCamera();
     _managerMap = new ManagerMap("newmap", _managerCamera);
     _entities = new Entities();
     _managerEvents = new ManagerEvents();
     _managerPlayer = new ManagerPlayer();
     //uglyyyyyyy
     FactoryDeathAnimation.Initailize(_managerCamera);
 }
 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;
 }
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     // Create a new SpriteBatch, which can be used to draw textures.
     ManagerContent.Initialize(Content);
     spriteBatch = new SpriteBatch(GraphicsDevice);
     _managerScreen = new ManagerScreen(Content);
     _managerWindow = new ManagerWindow();
     _managerLists = new ManagerLists();
     _managerLists.Initialize();
     //_managerScreen.LoadNewScreen(new ScreenWorld(_managerScreen));
     _managerScreen.LoadNewScreen(new ScreenStart(_managerScreen),false);
     // TODO: use this.Content to load your game content here
 }
Beispiel #5
0
 public ScreenStart(ManagerScreen managerScreen)
     : base(managerScreen)
 {
 }
 public PlayerInput(ManagerScreen managerScreen, ManagerPlayer managerPlayer)
 {
     _managerScreen = managerScreen;
     _managerPlayer = managerPlayer;
 }
Beispiel #7
0
 public Screen(ManagerScreen managerScreen)
 {
     ManagerScreen = managerScreen;
 }