earwax.cmd.project module¶
Provides the Workspace class.
-
class
earwax.cmd.project.
Project
(name: str, author: str = NOTHING, description: str = NOTHING, version: str = NOTHING, requirements: str = NOTHING, credits: List[earwax.cmd.project_credit.ProjectCredit] = NOTHING, variables: List[earwax.cmd.variable.Variable] = NOTHING, levels: List[earwax.cmd.game_level.GameLevel] = NOTHING)¶ Bases:
earwax.mixins.DumpLoadMixin
An earwax project.
This object holds the id of the initial map (if any), as well as global variables the user can create with the
global
subcommand.Variables: - name – The name of this project.
- author – The author of this project.
- description – A description for this project.
- version – The version string of this project.
- initial_map_id – The id of the first map to load with the game.
- credits – A list of credits for this project.
- variables – The variables created for this project.