Esempio n. 1
0
 static void Remove(Location loc)
 {
     locations.Remove(loc.Id);
 }
Esempio n. 2
0
 // called by engine
 static Location Create(IntPtr ptr)
 {
     var loc = new Location(ptr);
     locations[loc.Id] = loc;
     return loc;
 }
Esempio n. 3
0
 public LocationEnterEventArgs(Location location, IList<Critter> group, ushort entrance)
     : base(location)
 {
     Group = group;
     Entrance = entrance;
 }
Esempio n. 4
0
 public LocationEventArgs(Location location)
 {
     this.Location = location;
 }
Esempio n. 5
0
 public LocationFinishEventArgs(Location location, bool to_delete)
     : base(location)
 {
     this.ToDelete = to_delete;
 }