| 12345678910111213141516171819202122232425262728 |
- using Base;
- namespace Model
- {
- public sealed class Game
- {
- private static Entity game;
- public static Entity Scene
- {
- get
- {
- if (game == null)
- {
- game = new Entity();
- }
- return game;
- }
- }
- public static void Close()
- {
- Entity scene = game;
- game = null;
- scene.Dispose();
- }
- }
- }
|