public Door(SerializationInfo info, StreamingContext context) : base(info, context) { parentTile = info.TryGUIDThenFull <Tile>(context, "parentTile"); open = info.GetBoolean("open"); }
public Door(Tile pTile, string assetName = "spr_door@2x1", int layer = 0, string id = "") : base(assetName, layer, id) { parentTile = pTile; visible = true; layer = 1; }