FrozenEnemy
┗> Interactable > Event > Object > Class
Constructor
FrozenEnemy(actor: string|Actor, x: number?, y: number?, properties: table?)
Arguments:
actor: string|Actor | Actors are a type of data class that represent the visuals of a character - anything that is some type of character, be it the player, an NPC, or an enemy in battle, it will require an actor. |
x: number? | |
y: number? | |
properties: table? |
Methods
Fields
FrozenEnemy.actor: Actor
Actors are a type of data class that represent the visuals of a character - anything that is some type of character, be it the player, an NPC, or an enemy in battle, it will require an actor.
As a data class, actors are stored in scripts/data/actors/
, and extend this class. Their filepath starting from here becomes their id, unless an id is specified as an argument to Class()
.
FrozenEnemy.text: string[]
Text displayed when interacting with the statue