Ejemplo n.º 1
0
 private Castle(string _name, CastleForm extForm, WorldDirection extPos, CastleForm intForm, WorldDirection intPos, int res_count, int serv_count, int war_count)
 {
     name            = _name;
     externalDefSys  = new ExternalDefenceSystem(extForm, extPos);
     internalDefSys  = new InternalDefenceSystem(intForm, intPos);
     waterDistribSys = new WaterDistributionSystem();
     livingSys       = new JustLivingSystem(res_count, serv_count, war_count);
     comfyLivingSys  = new ComfyLivingSystem();
     prisonSys       = new PrisonSystem();
     isUnderAttack   = false;
     isUnderSiege    = false;
     isUnderFeudal   = false;
     currentFeudal   = null;
 }
Ejemplo n.º 2
0
 private Castle()
 {
     name            = "Unnamed";
     externalDefSys  = new ExternalDefenceSystem();
     internalDefSys  = new InternalDefenceSystem();
     waterDistribSys = new WaterDistributionSystem();
     livingSys       = new JustLivingSystem();
     comfyLivingSys  = new ComfyLivingSystem();
     prisonSys       = new PrisonSystem();
     isUnderAttack   = false;
     isUnderSiege    = false;
     isUnderFeudal   = false;
     currentFeudal   = null;
 }