Functions | |
| def | object_parser |
| def | object_type_parser |
| def | objects_parser |
| def | objects_type_parser |
| def | multiple_files_object_parser |
| def | multiple_files_otypes_parser |
This file handles the parsing of the objects defined in the game.
| def parsing.objects_parser.multiple_files_object_parser | ( | files_list | ) |
Parses a list of files, and returns the dictionary containing all data defined in these files. Note that if an object is described multiple times, the last definition will be kept. Maybe in the future, it will just stop the game, in order to fix the issue.
| def parsing.objects_parser.multiple_files_otypes_parser | ( | files_list | ) |
Parses a list of files, and returns the dictionary containing all data defined in these files.
| def parsing.objects_parser.object_parser | ( | object_tag | ) |
Parses an object tag, and returns the dictionnary containing all the important data.
| def parsing.objects_parser.object_type_parser | ( | object_type_tag | ) |
Parses an object type. An object type can be used as a factory to create new objects that are instanciated at runtime.
| def parsing.objects_parser.objects_parser | ( | object_file | ) |
Parses a file defining some objects (In game, not Python objects...). It returns the dictionary with all objects defined in the file.
| def parsing.objects_parser.objects_type_parser | ( | object_file | ) |
Parses a file defining some objects (In game, not Python objects...). It returns the dictionary with all objects defined in the file.
1.7.6.1