예제 #1
0
파일: Movement.cs 프로젝트: Crwth/UltimaXNA
 public Movement(Entity entity, IIsometricRenderer world)
 {
     _entity = entity;
     _world = world;
     _currentPosition = new Position3D();
     _moveEvents = new MoveEvents();
 }
예제 #2
0
파일: Mobile.cs 프로젝트: Crwth/UltimaXNA
 public Mobile(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
     _equipment = new MobileEquipment(this);
     _animation = new MobileAnimation(this);
     _movement.RequiresUpdate = true;
 }
예제 #3
0
파일: _Support.cs 프로젝트: Crwth/UltimaXNA
 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;
 }
예제 #4
0
파일: Overhead.cs 프로젝트: Crwth/UltimaXNA
 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;
 }
예제 #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>();
        }
예제 #6
0
 public Container(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
     UpdateTicker = 0;
 }
예제 #7
0
 public PlayerMobile(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
예제 #8
0
파일: Entity.cs 프로젝트: Crwth/UltimaXNA
 public Entity(Serial serial, IIsometricRenderer world)
 {
     Serial = serial;
     _movement = new Movement(this, world);
     _world = world;
 }
예제 #9
0
 public Item(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
예제 #10
0
 public static void Initialize(Game game)
 {
     _inputNew = game.Services.GetService<IInputState>();
     _world = game.Services.GetService<IIsometricRenderer>();
     _ui = game.Services.GetService<IUIManager>();
 }
예제 #11
0
파일: Corpse.cs 프로젝트: Crwth/UltimaXNA
 public Corpse(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
예제 #12
0
파일: Multi.cs 프로젝트: Crwth/UltimaXNA
 public Multi(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }
예제 #13
0
 public ContainerItem(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
     _ContainerObject = new GameObject_Container(this);
 }
예제 #14
0
 public DynamicObject(Serial serial, IIsometricRenderer world)
     : base(serial, world)
 {
 }