示例#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);
 }