Exemplo n.º 1
0
 /// <summary>
 /// Creates a new database and adds in default entities
 /// </summary>
 public EntityDefinitionDatabase()
 {
     AddDefinition("DefaultEye", Eye.GetEye(Color.White).ToDefinition());
     AddDefinition("DefaultFood", FoodPellets.GetFoodPellet(Color.White).ToDefinition());
     AddDefinition("DefaultMouth", Mouth.GetMouth(Color.White).ToDefinition());
     AddDefinition("DefaultNose", Nose.GetNose(Color.White).ToDefinition());
     AddDefinition("DefaultWeapon", Weapon.GetWeapon(Color.White).ToDefinition());
     AddDefinition("Soupling", Soupling.GetCritter(Color.White).ToDefinition());
 }
Exemplo n.º 2
0
 private void SoupGraphicControl1_GraphicsInitialized()
 {
     // Initial opening of entity.
     OpenEntity(Soupling.GetCritter(Color.White).ToDefinition());
 }