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