mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-19 06:54:05 +09:00
ActorAI's walk speed can be adjusted now
Former-commit-id: 556677bddf9cc29358471c81f7febc40e8e6cc7d Former-commit-id: 35b994001dd034e166ba6c6709cb92fd5dca073e
This commit is contained in:
@@ -43,13 +43,6 @@ class Player(born: GameDate) : ActorHumanoid(born) {
|
||||
referenceID = PLAYER_REF_ID // forcibly set ID
|
||||
density = BASE_DENSITY
|
||||
collisionType = COLLISION_KINEMATIC
|
||||
|
||||
try {
|
||||
gamepad = Controllers.getController(0)
|
||||
}
|
||||
catch (e: IndexOutOfBoundsException) {
|
||||
println("[Player] gamepad not detected.")
|
||||
}
|
||||
}
|
||||
|
||||
override fun update(gc: GameContainer, delta: Int) {
|
||||
|
||||
Reference in New Issue
Block a user