public AddVM() { Ma = new MonsterAwake(); Mn = new MonsterNonAwake(); ConfCommand = new DelegateCommand(ConfOnExecuteClick, CanExecuteClick); CloseCommand = new DelegateCommand(CloseOnExecuteClick, CanExecuteClick); }
public bool AddMonsterNonAwake(MonsterNonAwake mn) { mn.ImagePath = GetPath(mn.MonsterN + mn.Attribute); if (BestiaryNonAwake.Instance.AddMonster(mn)) { return(true); } return(false); }
public void DeleteMonsterNonAwake(MonsterNonAwake mn) { BestiaryNonAwake.Instance.RemoveMonster(mn); }
public bool CreateMonsterNonAwake(int nbStarsNat, int nbStars, string name, int atk, int pv, int def, int spd, int crirate, int cridom, int res, int acc, string monster, string attribute, string help) { MonsterNonAwake m = new MonsterNonAwake(nbStarsNat, nbStars, name, atk, pv, def, spd, crirate, cridom, res, acc, monster, attribute, help); return(AddMonsterNonAwake(m)); }