Exemplo n.º 1
0
        public WorldInput(WorldModel world)
        {
            // parent reference
            World = world;

            // service references
            m_Network       = Service.Get <INetworkClient>();
            m_UserInterface = Service.Get <UserInterfaceService>();
            m_Input         = Service.Get <IInputService>();

            // local instances
            MousePick = new MousePicking();
            m_Macros  = new MacroEngine();
        }
Exemplo n.º 2
0
 public MouseOverList(MousePicking mousePicking)
 {
     m_Items       = new List <MouseOverItem>();
     MousePosition = mousePicking.Position;
     PickType      = mousePicking.PickOnly;
 }