예제 #1
0
 //Init base monster attributes
 public BaseMonster(BaseMonster monster)
 {
     AttributeString = monster.AttributeString;
     ImageURI        = monster.ImageURI;
     Id          = monster.Id;
     name        = monster.name;
     description = monster.description;
     number      = monster.number;
 }
예제 #2
0
 public Monster(BaseMonster monster)
 {
     d10             = new Random((int)DateTime.Now.Ticks & 0x0000FFFF);
     attributes      = new Attributes();
     Id              = monster.Id;
     ImageURI        = monster.ImageURI;
     AttributeString = monster.AttributeString;
     attributes.PopulateFromString(AttributeString);
     name        = monster.name;
     number      = monster.number;
     description = monster.description;
 }