예제 #1
0
        public Game(int w, int h)
        {
            this.width = w-100;
            this.height = h;

            entities = new List<BusinessLogic>();

            pm = new PlayerModel(0, 0, 32, 43);
            player = new PlayerBl(pm,w,h);
            player.Death += (s, e) => GameEnd(GameEndEnum.Lose);
            sw = new Stopwatch();

            LoadStage();
        }
예제 #2
0
 public PlayerBl(PlayerModel p, double width, double height)
 {
     shape = p;
 }