source:
2014/23/LauriH/Peli 2/Peli 2/Peli 2/Ohjelma.cs
@
4879
Revision 4879, 474 bytes checked in by jotapoti, 9 years ago (diff) |
---|
Line | |
---|---|
1 | using System; |
2 | |
3 | static class Ohjelma |
4 | { |
5 | #if WINDOWS || XBOX |
6 | static void Main(string[] args) |
7 | { |
8 | using (Peli_2 game = new Peli_2()) |
9 | { |
10 | #if !DEBUG |
11 | game.IsFullScreen = true; |
12 | #endif |
13 | //try |
14 | //{ |
15 | game.Run(); |
16 | //} |
17 | //catch (ArgumentException e) |
18 | //{ |
19 | // Console.WriteLine("poikkeusdata: " + e.Data); |
20 | //} |
21 | } |
22 | } |
23 | #endif |
24 | } |
Note: See TracBrowser
for help on using the repository browser.