Ejemplo n.º 1
0
 public Tile(ISceneParentRef parent, int x, int y, TileNative native, int?height)
 {
     this.Owner    = null;
     this.Parent   = parent;
     this.X        = x;
     this.Y        = y;
     this.Height   = height ?? native.DefaultHeight;
     this.Native   = native;
     this.Affected = true;
     this.Revealed = native.RevealedByDefault;
 }
Ejemplo n.º 2
0
        public TileNative GetTileNative(string id)
        {
            TileNative native = tileNatives[id];

            return(native);
        }