GOOC - Game Oriented Object C

GOOC - Game Oriented Object C

Next: State Modifiers, Previous: The Invalid State, Up: States
[Contents]

10.7. External Modules

10.7. External Modules

Using the #module directive makes all code within the directive block part of the specified module, including states. If a state is part of an external module, then its blocks must follow specific rules, depending on the game version. For Crash 1, all blocks must be within the same module, and cannot be in the main default module. For Crash 2 onwards, the blocks must be either in the main default module, or within the currently selected module.