Exemple #1
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();
		}
Exemple #2
0
		public OptionsPanel(RotatingCursorScheme scheme)
		{
			_scheme = scheme;
		}
Exemple #3
0
		public TopBar(RotatingCursorScheme scheme, InventoryPanel invPanel, OptionsPanel optionsPanel)
		{
			_scheme = scheme;
			_invPanel = invPanel;
			_optionsPanel = optionsPanel;
		}
		public InventoryPanel(RotatingCursorScheme scheme)
		{
			_scheme = scheme;
		}