NamedEntityInteraction

abstract class NamedEntityInteraction(name: String, location: Tile?, action: String, actions: List<String>, type: InteractionType, widgetActions: Set<WidgetAction>?) : InteractionWithWidgetActions

If you provide a WebTile.

Constructors

NamedEntityInteraction
Link copied to clipboard
fun NamedEntityInteraction(name: String, location: Tile?, action: String, actions: List<String>, type: InteractionType, widgetActions: Set<WidgetAction>? = null)

Functions

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

Gets overridden

handleWidgetActions
Link copied to clipboard
fun handleWidgetActions(): Boolean

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
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>?

Inheritors

GameObjectInteraction
Link copied to clipboard
NpcInteraction
Link copied to clipboard