Beispiel #1
0
        public DebugManager(ILogger logger, Game game, GuiManager gui, IContentManager content, ISpriteBatch batch, InputManager input, WorldManager world, AlttpConsole console)
            : base(game)
        {
            Log      = logger;
            _gui     = gui;
            _content = content;
            _batch   = batch;
            _input   = input;
            _world   = world;
            _console = console;

            RenderOverlay = true;
        }
Beispiel #2
0
        public GameStateWorld(GameComponentCollection mainCollection, InputManager input, WorldManager world, DebugManager debug, Player player, GuiManager gui, Game game, AlttpConsole console)
            : base(mainCollection, world, debug, console)
        {
            _input   = input;
            _world   = world;
            _debug   = debug;
            _player  = player;
            _gui     = gui;
            _game    = game;
            _console = console;

            RegisterComponents();

            Initialize();
        }
Beispiel #3
0
        public WorldManager(ILogger logger, Game game, IContentManager content, IWorld world, ISpriteBatch batch, InputManager input, Player player, AlttpConsole console)
            : base(game)
        {
            Log = logger;

            _content = content;
            _batch   = batch;
            _input   = input;
            _console = console;

            Cameras = new Dictionary <int, Camera>();

            World = world;

            Player         = player;
            FightersShield = new BlueShield(Player.Link.Animations)
            {
                Position = new Vector2(2270, 2870)
            };
            FireShield = new FireShield(Player.Link.Animations)
            {
                Position = new Vector2(2250, 2870)
            };
        }