public HighScoresWindow(Jump game) : base(game) { this.game = game; position1 = new Vector2(312, 84); position2 = new Vector2(327, 99); }
public Player(Jump game, ILevel level, Rectangle rect) : base(game) { this.game = game; this.rect = rect; this.level = level; this.game.KeyboardEvent += KeyboardUpdate; }
public Text(Jump game, string content, Vector2 location, Color color) : base(game) { this.game = game; this.content = content; this.location = location; this.color = color; }
public Level1(Jump game) { this.game = game; this.blocks = new List<Block>(); this.speed = 64; this.rng = new Random(); this.spawnInterval = 200; this.tilNext = this.spawnInterval; }
public Block(Jump game, ILevel level, Rectangle blockRect, Color color, int ySpeed) : base(game) { this.game = game; this.rect = blockRect; this.color = color; this.ySpeed = ySpeed == 0 ? 0 : (1000 / ySpeed); this.level = level; }
public Level2(Jump game) { this.game = game; this.blocks = new List<Block>(); this.speed = -128; this.rng = new Random(); this.spawnInterval = 64; this.tilNext = this.spawnInterval; this.narrowness = 16; this.points = 0; }
public static void Main() { System.Console.WriteLine("Test"); try { using (Jump game = new Jump()) game.Run(); }catch (EntryPointNotFoundException e) { } }
public Level3(Jump game) { this.game = game; }
public Button(Jump game, ILevel level, Rectangle blockRect, Color color, string txt, int lvl) : base(game, level, blockRect, color, 0) { this.text = new Text(game, txt, new Vector2(blockRect.X, blockRect.Y), Color.Black); this.lvl = lvl; }
public JumpSprite(Jump game) : base(game) { }