PlayerSystem

class PlayerSystem @Inject constructor(val dataRepository: DataRepository, val userInterface: UserInterface, val playerMovingSystem: PlayerMovingSystem) : BaseSystem, Disposable

Constructors

Link copied to clipboard
@Inject
constructor(dataRepository: DataRepository, userInterface: UserInterface, playerMovingSystem: PlayerMovingSystem)

Properties

Link copied to clipboard
Link copied to clipboard
val direction: Vector2
Link copied to clipboard
val engine: Engine
Link copied to clipboard
val entities: ImmutableArray<Entity>
Link copied to clipboard
val family: Family
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val player: Entity
Link copied to clipboard
val position: Vector2
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun addedToEngine(engine: Engine)
Link copied to clipboard
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open override fun removedFromEngine(engine: Engine)
Link copied to clipboard
open fun setProcessing(processing: Boolean)
Link copied to clipboard
open override fun update(deltaTime: Float)