예제 #1
0
        public Player(Game5 game)
        {
            this.game = game;

            timer = new TimeSpan(0);
            // position = new Vector2(50, 400);
            state      = State.Idle;
            testmanRec = new Rectangle(50, 400, 75, 75);
            position   = new Vector2(testmanRec.X, testmanRec.Y);
        }
예제 #2
0
파일: Program.cs 프로젝트: joeymedina/game5
 static void Main()
 {
     using (var game = new Game5())
         game.Run();
 }
예제 #3
0
파일: Enemy.cs 프로젝트: joeymedina/game5
 public Enemy(Game5 game)
 {
     this.game = game;
 }