Constructor
# new RezSystem()
Represents a game system in the Rez game engine. Systems are used to implement cross-cutting game mechanics that operate on events and game state. They can define before_event and after_event handlers that are called during event processing, allowing them to modify events and results. Systems have priority and enabled/disabled states.
Extends
Methods
# static constructor(id, attributes)
Creates a new game system instance
Parameters:
| Name | Type | Description |
|---|---|---|
id |
string
|
unique identifier for this system |
attributes |
object
|
system attributes from Rez compilation including priority and handlers |