Only auto aim and healthbars
This commit is contained in:
1 parent
54c6327ac7
commit
a914bd74fe
14 files changed
+95
-89
No files matched your search
@@ -14,18 +14,14 @@ final class InputState
|
||||
|
||||
public bool $fire;
|
||||
|
||||
public bool $autoAim;
|
||||
|
||||
public function __construct(
|
||||
array $keys = [],
|
||||
?Vector2 $aim = null,
|
||||
bool $fire = false,
|
||||
bool $autoAim = false,
|
||||
) {
|
||||
$this->keys = $keys;
|
||||
$this->aim = $aim ?? new Vector2(1.0, 0.0);
|
||||
$this->fire = $fire;
|
||||
$this->autoAim = $autoAim;
|
||||
}
|
||||
|
||||
public function reset(?Vector2 $aim = null): void
|
||||
@@ -33,6 +29,5 @@ final class InputState
|
||||
$this->keys = [];
|
||||
$this->aim = $aim ?? new Vector2(1.0, 0.0);
|
||||
$this->fire = false;
|
||||
$this->autoAim = false;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user