public frmAddEditCreatureType(CreatureTypeManager creatureTMgr, CreatureTypeForm type, CreatureType creatureType) { this._creatureTypeManager = creatureTMgr; this._type = type; this._creatureType = creatureType; InitializeComponent(); }
public frmAddEditCreature(CreatureManager creatureMgr, CreatureTypeManager creatureTMgr, CreatureDietManager creatureDMgr) { this._type = CreatureForm.Add; this._creatureManager = creatureMgr; this._creatureTypeManager = creatureTMgr; this._creatureDietManager = creatureDMgr; InitializeComponent(); }
public void CreateGoblin() { CreatureTypeManager creatureTypeManager = new CreatureTypeManager(); _races.Add(new ActorRace(creatureTypeManager.Retrieve(CreatureTypeKey.Humanoid))); }