Frame Module

class Frame.Frame(width, height, config)[source]

Bases: Rect.Rect

The display frame shape. Upper left is the origin. The origin starts (1, 1).

to_array()[source]

Get a two-dimensional array of dungeon map.

Return type:array
Returns:Two-dimensional array.
to_string()[source]

Get a human-readable dungeon map.

Return type:string
Returns:Fixed-length string with a newline.

Previous topic

Door Module

Next topic

Rect Module

This Page