public WonLostScreen(HeraGUN pGame, bool pLevelWon) { _game = pGame; getEnding(pLevelWon); AddChild(pressButton); pressButton.SetOrigin(pressButton.width / 2, pressButton.height); pressButton.SetXY(game.width / 2, game.height); pressButton.SetFrame(0); }
public NameInput(Level pLevel) { _level = pLevel; _game = _level.thisgame; drawInput(); AddChild(_drawer); _drawer.SetXY(413, 120); }
public LevelHUD(Level pLevel) : base("hud.png", 1, 4) { _level = pLevel; _game = pLevel.thisgame; drawer = new Drawer(1024, 100); AddChild(drawer); game.Remove(this); game.Add(this); }
public Level(HeraGUN pGame, string pFileName, int pLevelPart) { levelPart = pLevelPart; _fileName = pFileName; thisgame = pGame; addPivots(); drawAll(); Camera cam1 = new Camera(player, this); AddChild(cam1); }
public Menu(HeraGUN pGame) { _game = pGame; drawNormal(); }
public Endscreen(HeraGUN pGame, bool pLevelWon) { _game = pGame; drawScreen(); }