Example #1
0
 public AddVM()
 {
     Ma           = new MonsterAwake();
     Mn           = new MonsterNonAwake();
     ConfCommand  = new DelegateCommand(ConfOnExecuteClick, CanExecuteClick);
     CloseCommand = new DelegateCommand(CloseOnExecuteClick, CanExecuteClick);
 }
Example #2
0
 public bool AddMonsterNonAwake(MonsterNonAwake mn)
 {
     mn.ImagePath = GetPath(mn.MonsterN + mn.Attribute);
     if (BestiaryNonAwake.Instance.AddMonster(mn))
     {
         return(true);
     }
     return(false);
 }
Example #3
0
 public void DeleteMonsterNonAwake(MonsterNonAwake mn)
 {
     BestiaryNonAwake.Instance.RemoveMonster(mn);
 }
Example #4
0
        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));
        }