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(); }
public PlayerBl(PlayerModel p, double width, double height) { shape = p; }