Exemple #1
0
 public Avatar(ComponentType type)
     : base(type)
 {
     this.Pets	= new List<Npc>();
     this.Log	= new List<LogEntry>();
     this.Ancestors = new List<string>();
 }
Exemple #2
0
 public Location(int x, int y, int z, ComponentType type)
     : base(type)
 {
     this.X					= x;
     this.Y					= y;
     this.Z					= z;
     this.Index				= ((ulong)x << 32) | (ulong)y;
     this.Inhabitants 		= new List<Avatar>();
     this.Structures			= new List<Edifice>();
     this.Fauna				= new List<Npc>();
     this.Regions 			= new List<Region>();
     this.Visible			= new List<Location>();
     this.TracesIn			= new List<Trait>();
     this.TracesOut			= new List<Trait>();
     this.InvertVisibility	= true;
 }