GameObjectInteraction

open class GameObjectInteraction(objectName: String, objectLocation: Tile?, action: String, actions: List<String>, widgetActions: Set<WidgetAction>?) : NamedEntityInteraction

Constructors

GameObjectInteraction
Link copied to clipboard
fun GameObjectInteraction(objectName: String, action: String, actions: List<String>, widgetActions: Set<WidgetAction>? = null)

Functions

findEntity
Link copied to clipboard
open override fun findEntity(): InteractableEntity?
handle
Link copied to clipboard
open override fun handle(): Boolean

Gets overridden

handleWidgetActions
Link copied to clipboard
fun handleWidgetActions(): Boolean
toString
Link copied to clipboard
open override fun toString(): String

Properties

action
Link copied to clipboard
val action: String
actions
Link copied to clipboard
val actions: List<String>
identifier
Link copied to clipboard
val identifier: String
location
Link copied to clipboard
val location: Tile?
name
Link copied to clipboard
val name: String
objectLocation
Link copied to clipboard
val objectLocation: Tile?
objectName
Link copied to clipboard
val objectName: String
requirements
Link copied to clipboard
val requirements: List<Any>? = null
type
Link copied to clipboard
val type: InteractionType
widgetActions
Link copied to clipboard
val widgetActions: Set<WidgetAction>?