ActorAI's walk speed can be adjusted now

Former-commit-id: 556677bddf9cc29358471c81f7febc40e8e6cc7d
Former-commit-id: 35b994001dd034e166ba6c6709cb92fd5dca073e
This commit is contained in:
Song Minjae
2016-12-28 00:17:52 +09:00
parent 2e2e4a0281
commit e253641471
7 changed files with 135 additions and 77 deletions

View File

@@ -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) {