예제 #1
0
파일: Map.cs 프로젝트: jterweeme/xarcraft
 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
파일: Tree.cs 프로젝트: jterweeme/xarcraft
 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
파일: Tree.cs 프로젝트: jterweeme/xarcraft
 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;
 }