Exemple #1
0
 public Initializer(SpriteBatch spriteBatch, RogueLike ingame)
 {
     this.spriteBatch = spriteBatch;
     this.ingame = ingame;
     this.oldkeyboardState = Keyboard.GetState();
     output18 = ingame.Content.Load<SpriteFont>("Output18pt");
 }
Exemple #2
0
 public TitleCard(SpriteBatch spriteBatch, RogueLike ingame)
 {
     this.spriteBatch = spriteBatch;
     this.ingame = ingame;
     overlay = ingame.Content.Load<Texture2D>("overlay.png");
     output128 = ingame.Content.Load<SpriteFont>("Output128pt");
 }
Exemple #3
0
 static void Main()
 {
     using (var game = new RogueLike())
         game.Run();
 }
Exemple #4
0
 public ingameMenu(RogueLike ingame, SpriteFont output, Playing playing)
 {
     this.playing = playing; this.ingame = ingame; this.output = output;
 }