1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System.Collections.Generic;
- using System.Linq;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Threading.Tasks;
- namespace WpfAppA.model
- {
- class Globals
- {
- public static IDataProvider dataProvider;
- IEnumerable<HeroPower> getHeroPower()
- {
- return new HeroPower[] {
- new HeroPower { title = "1/10"},
- new HeroPower { title = "2/10"},
- new HeroPower { title = "3/10"},
- new HeroPower { title = "4/10"},
- new HeroPower { title = "5/10"},
- new HeroPower { title = "6/10"},
- new HeroPower { title = "7/10"},
- new HeroPower { title = "8/10"},
- new HeroPower { title = "9/10"},
- new HeroPower { title = "10/10"}
- };
- }
- IEnumerable<HeroAge> getHeroAges()
- {
- return new HeroAge[] {
- new HeroAge{title="Все возраста", AgeFrom=0, AgeTo=2000},
- new HeroAge{title="Дети", AgeFrom=1, AgeTo=100},
- new HeroAge{title="Подростки", AgeFrom=100, AgeTo = 500},
- new HeroAge{title="Мужчины", AgeFrom=500, AgeTo=700},
- new HeroAge{title="Старики", AgeFrom=700, AgeTo=200}
- };
- }
- IEnumerable<HeroRace> getHeroRace()
- {
- return new HeroRace[] {
- new HeroRace { title = "Человек"},
- new HeroRace { title = "Огр"},
- new HeroRace { title = "Дракон"},
- new HeroRace { title = "Гоблин"},
- new HeroRace { title = "Фея"},
- new HeroRace { title = "Камень"},
- new HeroRace { title = "Рыба"},
- new HeroRace { title = "Селёдка"}
- };
- }
- }
- }
|