42 private MapTile(ushort type,
byte light,
byte extraData)
51 if (Light == other.Light &&
Type == other.Type)
53 return Color == other.Color;
60 if (
Type == other.Type)
62 return Color == other.Color;
81 return new MapTile(type, light, (
byte)(color | 0x80u));
MapTile WithLight(byte light)
bool Equals(ref MapTile other)
static MapTile Create(ushort type, byte light, byte color)
bool EqualsWithoutLight(ref MapTile other)
MapTile(ushort type, byte light, byte extraData)