internal UISpriteImage(Sprite setSprite) { Sprite = setSprite; Width = Sprite.MaxWidth; Height = Sprite.MaxHeight; }
internal UISpriteButton(Sprite spr, int spriteFrameIndex) : base(string.Empty, 364, 365) { curSpr = spr; curSpr.FixedSpriteFrame = spriteFrameIndex; img = new UISpriteImage(curSpr); img.X = 2; img.Y = 2; AddComponent(img); }
public HumanTower(Map currentMap) : base(currentMap) { sprite = new Sprite (WarFile.GetSpriteResource (WarFile.KnowledgeBase.IndexByName ("Human Tower"))); }
public Corpse(Map currentMap) : base(currentMap) { sprite = new Sprite (WarFile.GetSpriteResource (WarFile.KnowledgeBase.IndexByName ("Corpse"))); }
public HumanStormwind(Map currentMap) : base(currentMap) { sprite = new Sprite (WarFile.GetSpriteResource (WarFile.KnowledgeBase.IndexByName ("Stormwind"))); }
internal UISpriteButton(Sprite spr, string spriteName) : this(spr, WarFile.KnowledgeBase.IconIDByName(spriteName)) { // }
public OrcFarm(Map currentMap) : base(currentMap) { sprite = new Sprite (WarFile.GetSpriteResource (WarFile.KnowledgeBase.IndexByName ("Orc Farm"))); }