public FadeablePage(Engine engine, GameLayer layer,GamePages page) { this.engine = engine; this.layer = layer; this.page = page; layer.Pages[page] = this; }
public FadeablePage(Engine engine, GameLayer layer, GamePages page) { this.engine = engine; this.layer = layer; this.page = page; layer.Pages[page] = this; }
public MainMenu(Engine engine, GameLayer layer, GamePages page) : base(engine, layer, page) { exitButton = new HoverButton(this, "exit", new Point(20, 450)); exitButton.OnClick += onExitClick; }
public OptionsMenu(Engine engine, GameLayer layer, GamePages page) : base(engine, layer, page) { exitButton = new HoverButton(this, "exit", new Point(20, 450)); exitButton.OnClick += onExitClick; }