public List <MoveData> KnownMoves = new List <MoveData>(); //All learned moves, including trained public Beast(BeastData data, int level) { this.data = data; Name = data.Name; Stats = data.Stats.ToDictionary( entry => entry.Key, entry => entry.Value.Instantiate() ); LevelUp(level); MoveSet = new List <MoveData>(); MoveSet.Add(KnownMoves.First()); }
/// <summary> /// Adds a new beast to team by BeastData object /// </summary> /// <param name="data"></param> /// <param name="level"></param> /// <returns></returns> public Team AddNewByData(BeastData data, int level) { Members.Add(new Beast(data, level)); return(this); }