frbΒΆ
Definition and boilerplate functions for Fortune Avenue-compatible .frb files.
Functions
Reads an .frb file in and returns a BoardFile object representing it. |
|
Writes a Fortune Avenue-compatible .frb file from a user-provided BoardFile object. |
Classes
A dataclass representing Board Data, which is attached to a Square object. |
|
A dataclass representing Board Info, which is attached to a Square object. |
|
A dataclass representing Board Info, which is attached to a Square object. |
|
A dataclass representing Header information. |
|
The LoopingMode enum works the same way, allowing us to refer to the bytecodes that represent None, Vertical, and Both (Horizontal and Vertical) values of LoopingMode. |
|
In this case, the Magic Number represents specific types of data, each of which is a separate subset of the .frb file. |
|
A dataclass representing a Square. |
|
The SquareType enum represents the various types of Squares that can exist in a Fortune Avenue-compatible .frb file. |
|
A dataclass representing Waypoint information. |