Beispiel #1
0
 // Reads the next area in the map stream
 public KnyttArea(Stream map, KnyttWorld world)
 {
     Warp       = new KnyttWarp(this);
     this.World = world;
     this.loadFromStream(map);
     this.fetchAreaExtraData();
     this.fetchFlagWarpData();
 }
Beispiel #2
0
 public KnyttArea(KnyttPoint position, KnyttWorld world)
 {
     Warp          = new KnyttWarp(this);
     this.World    = world;
     this.Empty    = true;
     this.Position = position;
     this.fetchAreaExtraData();
     this.fetchFlagWarpData();
 }