public MapExit(short mapId, Rect rect, short posX, short posY) { MapId = mapId; Rect = rect; TargetPos = new Vector2s(posX, posY); }
public Rect(short minX, short minY, short maxX, short maxY) { Min = new Vector2s(minX, minY); Max = new Vector2s(maxX, maxY); }