| 1 | <?php |
||
| 28 | class WASDControlsComponent extends ComponentAbstract |
||
| 29 | { |
||
| 30 | /** |
||
| 31 | * Initialize Component |
||
| 32 | * |
||
| 33 | * {@inheritdoc} |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | 6 | public function initializeComponent(): bool |
|
| 42 | |||
| 43 | /** |
||
| 44 | * wasd-controls enabled |
||
| 45 | * |
||
| 46 | * Whether the WASD controls are enabled. |
||
| 47 | * |
||
| 48 | * @param bool $enabled |
||
| 49 | * @return void |
||
| 50 | */ |
||
| 51 | 6 | public function enabled(bool $enabled = true) |
|
| 55 | } |
||
| 56 |