public Unit(Sprite2D sprite2D, int hp = 100, int mp = 100, int stm = 100) : base(sprite2D) { this.damage = 200; this.hp = hp; this.mp = mp; this.stm = stm; this.sprite2D = sprite2D; }
public GameMenu(Sprite2D model, int numOfButtons) : base(model) { buttons = new List <GameButton>(); for (int i = 0; i < numOfButtons; i++) { var tex = ResManager.Instance.Load("button\\bt1"); var btn = new GameButton(new Sprite2D(tex, 20f, (tex[0].Height + 10f) * i, 0.9f)); btn.Tag = i; btn.Click += (object sender, GameButtonEventArgs e) => { if (this.Click != null) { this.Click(this, new GameMenuEventArgs(btn)); } }; buttons.Add(btn); } }
public Effects(Sprite2D model) : base(model) { }
public walkingMan(Sprite2D sprite) : base(sprite, 50, 50, 100) { }
//Sprite2D sprite2D; public Map(Sprite2D sprite2D) : base(sprite2D) { //this.sprite2D = sprite2D; }
public GameControl(Sprite2D model) : base(model) { }
public GameVisibleEntity2D(Sprite2D model) { this._model = model; }
public GameButton(Sprite2D model) : base(model) { }
public Island(Sprite2D sprite2D) : base(sprite2D) { }