Exemple #1
0
 public Movement(Entity entity, IIsometricRenderer world)
 {
     _entity = entity;
     _world = world;
     _currentPosition = new Position3D();
     _moveEvents = new MoveEvents();
 }
Exemple #2
0
 public Mobile(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
     _equipment = new MobileEquipment(this);
     _animation = new MobileAnimation(this);
     _movement.RequiresUpdate = true;
 }
Exemple #3
0
 public _Support(Game game)
     : base(game)
 {
     _game = game;
     _Input = Game.Services.GetService<IInputState>();
     _UserInterface = Game.Services.GetService<IUIManager>();
     _World = game.Services.GetService<IIsometricRenderer>();
     EngineVars.EngineRunning = true;
     EngineVars.InWorld = false;
 }
Exemple #4
0
 public Overhead(Entity ownerEntity, IIsometricRenderer world, MessageType msgType, string text, int font, int hue)
     : base(ownerEntity.Serial, world)
 {
     _ownerEntity = ownerEntity;
     _text = text;
     _font = font;
     _hue = hue;
     _msgType = msgType;
     _needsRender = true;
 }
Exemple #5
0
        public BaseScene(Game game, bool needsUIService)
        {
            _game = game;
            _clearColor = Color.Black;
            _content = new ContentManager(_game.Services);
            _content.RootDirectory = "Content";
            _sceneState = SceneState.TransitioningOn;

            _sceneService = game.Services.GetService<ISceneService>(true);
            _inputService = game.Services.GetService<IInputState>(true);
            _worldService = game.Services.GetService<IIsometricRenderer>(true);
            _uiService = game.Services.GetService<IUIManager>();
        }
Exemple #6
0
 public Container(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
     UpdateTicker = 0;
 }
Exemple #7
0
 public PlayerMobile(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
Exemple #8
0
 public Entity(Serial serial, IIsometricRenderer world)
 {
     Serial = serial;
     _movement = new Movement(this, world);
     _world = world;
 }
Exemple #9
0
 public Item(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
Exemple #10
0
 public static void Initialize(Game game)
 {
     _inputNew = game.Services.GetService<IInputState>();
     _world = game.Services.GetService<IIsometricRenderer>();
     _ui = game.Services.GetService<IUIManager>();
 }
Exemple #11
0
 public Corpse(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
Exemple #12
0
 public Multi(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
Exemple #13
0
 public ContainerItem(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
     _ContainerObject = new GameObject_Container(this);
 }
Exemple #14
0
 public DynamicObject(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }