예제 #1
0
파일: Game.cs 프로젝트: pietroiusti/HFCS
        public Game(Rectangle boundaries)
        {
            Boundaries = boundaries;
            fPlayer = new Player(new Point(boundaries.Left + 10, boundaries.Top + 70));

            NewLevel();
            NewLevel();
        }
예제 #2
0
파일: Enemy.cs 프로젝트: pietroiusti/HFCS
 public void HitPlayer(Player player, Random rnd)
 {
     player.TakeHit(MaxDamage, rnd);
 }