CharacterAdmin

interface CharacterAdmin

Functions

Link copied to clipboard
abstract fun create(    name: String,     position: Vec3F,     orientationForward: Vec3F,     orientationUp: Vec3F): CharacterObservation
Link copied to clipboard
abstract fun die()
Link copied to clipboard
abstract fun localCharacterId(): String?
Link copied to clipboard
abstract fun mainCharacterId(): String
Link copied to clipboard
abstract fun remove(id: String)
Link copied to clipboard
abstract fun showTerminal(blockId: String)
Link copied to clipboard
abstract fun switch(id: String)
Link copied to clipboard
abstract fun teleport(    position: Vec3F,     orientationForward: Vec3F? = null,     orientationUp: Vec3F? = null): CharacterObservation
Link copied to clipboard
abstract fun updateEnergy(energy: Float)
Link copied to clipboard
abstract fun updateHealth(health: Float)
Link copied to clipboard
abstract fun updateHydrogen(hydrogen: Float)
Link copied to clipboard
abstract fun updateOxygen(oxygen: Float)
Link copied to clipboard
abstract fun use(    blockId: BlockId,     functionIndex: Int,     action: Int)