public frmAddEditCreatureType(CreatureTypeManager creatureTMgr, CreatureTypeForm type, CreatureType creatureType)
 {
     this._creatureTypeManager = creatureTMgr;
     this._type         = type;
     this._creatureType = creatureType;
     InitializeComponent();
 }
Ejemplo n.º 2
0
 public frmAddEditCreature(CreatureManager creatureMgr, CreatureTypeManager creatureTMgr, CreatureDietManager creatureDMgr)
 {
     this._type                = CreatureForm.Add;
     this._creatureManager     = creatureMgr;
     this._creatureTypeManager = creatureTMgr;
     this._creatureDietManager = creatureDMgr;
     InitializeComponent();
 }
Ejemplo n.º 3
0
        public void CreateGoblin()
        {
            CreatureTypeManager creatureTypeManager = new CreatureTypeManager();

            _races.Add(new ActorRace(creatureTypeManager.Retrieve(CreatureTypeKey.Humanoid)));
        }