示例#1
0
 public WorldInput(WorldModel world)
 {
     // parent reference
     World = world;
     // service references
     _network       = Service.Get <INetworkClient>();
     _userInterface = Service.Get <UserInterfaceService>();
     _input         = Service.Get <IInputService>();
     // local instances
     MousePick = new MousePicking();
     _macros   = new MacroEngine();
 }
示例#2
0
 public MouseOverList(MousePicking mousePicking)
 {
     _items        = new List <MouseOverItem>();
     MousePosition = mousePicking.Position;
     PickType      = mousePicking.PickOnly;
 }