Ejemplo n.º 1
0
 public TopBar(RotatingCursorScheme scheme, InventoryPanel invPanel, OptionsPanel optionsPanel,
               FeaturesTopWindow featuresPanel)
 {
     _scheme        = scheme;
     _invPanel      = invPanel;
     _optionsPanel  = optionsPanel;
     _featuresPanel = featuresPanel;
 }
Ejemplo n.º 2
0
        public async Task LoadAsync(IGame game)
        {
            var factory = game.Factory;

            Point = await loadCursor("point.bmp", factory);

            Walk = await loadCursor("walk.bmp", factory);

            Look = await loadCursor("eye.bmp", factory);

            Talk = await loadCursor("talk.bmp", factory);

            Interact = await loadCursor("hand.bmp", factory);

            Wait = await loadCursor("wait.bmp", factory);

            Scheme = new RotatingCursorScheme(game, Look, Walk, Interact, Wait);
            Scheme.AddCursor(TALK_MODE, Talk, true);
            Scheme.AddCursor(POINT_MODE, Point, false);
            Scheme.Start();
        }
Ejemplo n.º 3
0
 public OptionsPanel(RotatingCursorScheme scheme)
 {
     _scheme = scheme;
 }
Ejemplo n.º 4
0
 public FeaturesMoveAreaPanel(IGame game, IObject parent, RotatingCursorScheme scheme)
 {
     _game   = game;
     _parent = parent;
     _scheme = scheme;
 }
Ejemplo n.º 5
0
 public FeaturesTopWindow(RotatingCursorScheme scheme)
 {
     _scheme = scheme;
     _layer  = new AGSRenderLayer(AGSLayers.UI.Z, independentResolution: new Size(1200, 800));
     _panels = new Dictionary <string, Lazy <IFeaturesPanel> >();
 }
Ejemplo n.º 6
0
 public TopBar(RotatingCursorScheme scheme, InventoryPanel invPanel, OptionsPanel optionsPanel)
 {
     _scheme       = scheme;
     _invPanel     = invPanel;
     _optionsPanel = optionsPanel;
 }
Ejemplo n.º 7
0
 public InventoryPanel(RotatingCursorScheme scheme)
 {
     _scheme = scheme;
 }