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