Returns the actions for the given action class.
The action class.
The actions or null if there are no actions.
Returns the number of the disk this map belongs to.
The disk number.
Returns the NPC with the given index.
The NPC index.
The NPC.
Returns the number of mobs in this map.
The number of mobs.
Returns the number of NPCs in this map.
The number of NPCs.
Returns the number of strings in this map.
The number of strings.
Returns the string with the given index.
The string index.
The string
Returns all strings defined in this map.
All map strings.
Returns the map tile at the given position.
The horizontal position on the map.
The vertical position on the map.
The map tile.
StaticfromReads a game map from the given array and offset. Unfortunately maps are not completely self-contained and some information from the Exe file (map size and tile map offset address) is needed in order to read the map. You can get this data from the Exe class.
The array to read the map from. This is usually the content of the file GAME1 or GAME2.
The offset in the array where the map data starts.
The size of the map to read. This is 32 for a 32x32 map or 64 for a 64x64 map. This information can be read from the Exe#getMapSize method.
The offset to the beginning of the tile map in the map data. This information ca be read from the Exe#getTileMapOffset method.
The read game map.
StaticfromReads a game map from the given array and offset. Unfortunately maps are not completely self-contained and some information from the Exe file (map size and tile map offset address) is needed in order to read the map. You can get this data from the Exe class.
The blob to read the map from. This is usually the the file GAME1 or GAME2.
The offset in the blob where the map data starts.
The size of the map to read. This is 32 for a 32x32 map or 64 for a 64x64 map. This information can be read from the Exe#getMapSize method.
The offset to the beginning of the tile map in the map data. This information ca be read from the Exe#getTileMapOffset method.
The read game map.
Container for a single map from on of the GAME files.
See
https://wasteland.gamepedia.com/GameX