Skip to content

GameMapDimensions

python
class GameMapDimensions(BaseModel):
    width: int
    height: int
java
public class GameMapDimensions {
    public int width;
    public int height;
}

Encapsulates the dimensions (width and height) of the ongoing game's map.

INFO

This type was used in previous iterations of the API but currently has very limited use.

Attributes

AttributeTypeDescription
widthintThe width of the game map (i.e. the number of tiles in the horizontal direction).
heightintThe height of the game map (i.e. the number of tiles in the vertical direction).