mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
less stupid name
Former-commit-id: 4b62bf4b861dc32935489c2b9d063cb0b3b0917c Former-commit-id: faf1a304fb8f96eaf35ab80b0fa964c6e28e2b96
This commit is contained in:
@@ -6,9 +6,10 @@ import org.newdawn.slick.Input
|
||||
/**
|
||||
* A wrapper to support instant player changing (or possessing other NPCs maybe)
|
||||
*
|
||||
* @param actor : here you 'snap in' the actor you wish to control
|
||||
* Created by minjaesong on 16-10-23.
|
||||
*/
|
||||
class AnyPlayer(val actor: ActorHumanoid) {
|
||||
class PossessedPlayerWrapper(val actor: ActorHumanoid) {
|
||||
|
||||
init {
|
||||
if (actor !is Controllable)
|
||||
Reference in New Issue
Block a user