(isJump, holdTime, xDirection)
| 1 | class AIAction { |
| 2 | constructor(isJump, holdTime, xDirection) { |
| 3 | this.isJump = isJump; |
| 4 | this.holdTime = holdTime;//number between 0 and 1 |
| 5 | this.xDirection = xDirection; |
| 6 | |
| 7 | } |
| 8 | |
| 9 | clone() { |
| 10 | return new AIAction(this.isJump, this.holdTime, this.xDirection); |
nothing calls this directly
no outgoing calls
no test coverage detected