internal static EntityStats CreateDummyStats() { EntityStats stats = new EntityStats(); Random random = RandomSingleton.GetInstance(); // We create random values stats.Armor = random.Next(0, 5); stats.MaxHealth = random.Next(5, 25) * 50; stats.CurrentHealth = random.Next(10, stats.MaxHealth); stats.MaxMana = random.Next(0, 10) * 10; stats.CurrentMana = random.Next(0, stats.MaxMana); return(stats); }
public Dice() { random = RandomSingleton.GetInstance(); }