WAD::Demo::InputAction
Inherits Struct < Value < Object
Each input action for the demo
Constructors
Instance methods
The action byte to show what is being performed on the tic
The action byte to show what is being performed on the tic
Returns a copy of self with all instance variables cloned.
This byte encodes multiple actions in different bits. Indexing is from the least significant bit
This byte encodes multiple actions in different bits. Indexing is from the least significant bit
Positive values indicate forward movement, negative backward.
Positive values indicate forward movement, negative backward.
Positive values indicate rightward movement, negative leftward.
Positive values indicate rightward movement, negative leftward.
Positive values are left turns, negative right.
Positive values are left turns, negative right.