コード例 #1
0
 public ScreenOverworldMap(ManagerScreen managerScreen, ManagerPlayer managerPlayer, Vector2 cameraPosition)
     : base(managerScreen)
 {
     _managerPlayer = managerPlayer;
     _cameraPosition = cameraPosition;
     _cursorPosition = _cameraPosition;
     _cursorCounter = 0;
     _overworldMapObjects = new OverworldMapObjects();
 }
コード例 #2
0
ファイル: ScreenWorld.cs プロジェクト: Bribz/SpeedCodingZelda
 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);
 }
コード例 #3
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;
 }
コード例 #4
0
 /// <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
 }
コード例 #5
0
ファイル: ScreenStart.cs プロジェクト: Bribz/SpeedCodingZelda
 public ScreenStart(ManagerScreen managerScreen)
     : base(managerScreen)
 {
 }
コード例 #6
0
 public PlayerInput(ManagerScreen managerScreen, ManagerPlayer managerPlayer)
 {
     _managerScreen = managerScreen;
     _managerPlayer = managerPlayer;
 }
コード例 #7
0
ファイル: Screen.cs プロジェクト: Bribz/SpeedCodingZelda
 public Screen(ManagerScreen managerScreen)
 {
     ManagerScreen = managerScreen;
 }