source: 2013/27/TeemuM/Game/Game/Game/UI.cs @ 4356

Revision 4356, 548 bytes checked in by janiemit, 8 years ago (diff)
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6using Jypeli;
7using Jypeli.Assets;
8using Jypeli.Controls;
9using Jypeli.Effects;
10using Jypeli.Widgets;
11
12class UI
13{
14    public static int Menu()
15    {
16        int selectedItem = -1;
17        MultiSelectWindow Menu = new MultiSelectWindow("Welcome to Game", "Start Game", "Scoreboard", "Exit");
18        Menu.ItemSelected += delegate(int selected) { selectedItem = selected; };
19        G.game.Add(Menu);
20        return selectedItem;
21    }
22}
Note: See TracBrowser for help on using the repository browser.