Пример #1
0
 public Map(Game1 game)
     : base(game)
 {
     this.game = game;
     nature = new List<NatureObject>();
     Game.Components.Add(this);
 }
Пример #2
0
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Пример #3
0
 public Tree(Game1 game, int x, int y)
     : base(game)
 {
     this.x = x;
     this.y = y;
     DrawOrder = 9999;
     Game.Components.Add(this);
 }
Пример #4
0
 public MenuItem(Game1 game, string text, Vector2 pos, Screen screen)
     : base(game)
 {
     this.game = game;
     this.text = text;
     this.pos = pos;
     this.screen = screen;
     game.Components.Add(this);
 }
Пример #5
0
 public MenuScreen(Game1 game)
     : base(game)
 {
 }
Пример #6
0
 public MenuItem(Game1 game, string text, Vector2 pos)
     : this(game, text, pos, null)
 {
 }
Пример #7
0
 public Tree(Game1 game)
     : this(game, 0, 0)
 {
 }
Пример #8
0
 public Screen(Game1 game)
     : base(game)
 {
     this.game = game;
 }
Пример #9
0
 public SplashScreen(Game1 game)
     : base(game)
 {
 }
Пример #10
0
 public NatureObject(Game1 game)
     : base(game)
 {
 }
Пример #11
0
 public CreditScreen(Game1 game)
     : base(game)
 {
     this.game = game;
 }