Example #1
0
 public Initializer(SpriteBatch spriteBatch, RogueLike ingame)
 {
     this.spriteBatch = spriteBatch;
     this.ingame = ingame;
     this.oldkeyboardState = Keyboard.GetState();
     output18 = ingame.Content.Load<SpriteFont>("Output18pt");
 }
Example #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");
 }
Example #3
0
 static void Main()
 {
     using (var game = new RogueLike())
         game.Run();
 }
Example #4
0
 public ingameMenu(RogueLike ingame, SpriteFont output, Playing playing)
 {
     this.playing = playing; this.ingame = ingame; this.output = output;
 }