예제 #1
0
 public HighScoresWindow(Jump game)
     : base(game)
 {
     this.game = game;
     position1 = new Vector2(312, 84);
     position2 = new Vector2(327, 99);
 }
예제 #2
0
 public Player(Jump game, ILevel level, Rectangle rect)
     : base(game)
 {
     this.game = game;
     this.rect = rect;
     this.level = level;
     this.game.KeyboardEvent += KeyboardUpdate;
 }
예제 #3
0
파일: Text.cs 프로젝트: tekktonic/Apphack6
 public Text(Jump game, string content, Vector2 location, Color color)
     : base(game)
 {
     this.game = game;
     this.content = content;
     this.location = location;
     this.color = color;
 }
예제 #4
0
 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;
 }
예제 #5
0
파일: Block.cs 프로젝트: tekktonic/Apphack6
 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;
 }
예제 #6
0
 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;
 }
예제 #7
0
파일: Jump.cs 프로젝트: tekktonic/Apphack6
 public static void Main()
 {
     System.Console.WriteLine("Test");
        try
        {
        using (Jump game = new Jump())
            game.Run();
        }catch (EntryPointNotFoundException e)
        {
        }
 }
예제 #8
0
 public Level3(Jump game)
 {
     this.game = game;
 }
예제 #9
0
            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;
            }
예제 #10
0
 public JumpSprite(Jump game)
     : base(game)
 {
 }