public LoginState() : base() { m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>(); m_Login = ServiceRegistry.GetService<LoginModel>(); m_Input = ServiceRegistry.GetService<InputManager>(); }
public WorldCursor(WorldModel model) { m_Network = ServiceRegistry.GetService<INetworkClient>(); m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>(); m_Input = ServiceRegistry.GetService<InputManager>(); m_World = model; InternalRegisterInteraction(); }
public WorldInput(WorldModel world) { World = world; m_Network = ServiceRegistry.GetService<INetworkClient>(); m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>(); m_Input = ServiceRegistry.GetService<InputManager>(); MousePick = new MousePicking(); }
public ChatControl(AControl parent, int x, int y, int width, int height) : base(parent) { Position = new Point(x, y); Size = new Point(width, height); m_TextEntries = new List<ChatLineTimed>(); m_MessageHistory = new List<Tuple<ChatMode, string>>(); m_Input = ServiceRegistry.GetService<InputManager>(); m_World = ServiceRegistry.GetService<WorldModel>(); IsUncloseableWithRMB = true; }
public WorldInput(WorldModel world) { // parent reference World = world; // service references m_Network = ServiceRegistry.GetService<INetworkClient>(); m_UserInterface = ServiceRegistry.GetService<UserInterfaceService>(); m_Input = ServiceRegistry.GetService<InputManager>(); // local instances MousePick = new MousePicking(); m_Macros = new MacroEngine(); }