luxe: world/states
AState
Section titled “AState”import "luxe: world/states" for AStateno docs found
Variables
Section titled “Variables”var id : String = ID.uuidvar name : String = "<unknown>"var parent : AState = nullvar persists : Bool = falsevar entities : Map = {}AState.persist(.)
Section titled “AState.persist(.)”AState.persist(yes : Bool) : unknownno docs found
AState.get(.)
Section titled “AState.get(.)”AState.get(entity : Entity) : EntityStateno docs found
AState.enter(..)
Section titled “AState.enter(..)”AState.enter(entity : Entity, fn : Fn) : unknownno docs found
AState.reenter(..)
Section titled “AState.reenter(..)”AState.reenter(entity : Entity, fn : Fn) : unknownno docs found
AState.exit(..)
Section titled “AState.exit(..)”AState.exit(entity : Entity, fn : Fn) : unknownno docs found
AState.tick(..)
Section titled “AState.tick(..)”AState.tick(entity : Entity, fn : Fn) : unknownno docs found
AState.goto_after(…)
Section titled “AState.goto_after(…)”AState.goto_after(entity : Entity, state : AState, time : Num) : unknownno docs found
AState.goto_if(…)
Section titled “AState.goto_if(…)”AState.goto_if(entity : Entity, state : AState, fn : Fn) : unknownno docs found
AState.goto_when(…)
Section titled “AState.goto_when(…)”AState.goto_when(entity : Entity, state : AState, field : String) : unknownno docs found
AState.goto_when(…)
Section titled “AState.goto_when(…)”AState.goto_when(entity : Entity, state : AState, field : String, desired_value : Any) : unknownno docs found
AState.goto_when(…)
Section titled “AState.goto_when(…)”AState.goto_when(entity : Entity, state : AState, field : String, op : Op, desired_value : Any) : unknownno docs found
AState.goto_on(…)
Section titled “AState.goto_on(…)”AState.goto_on(entity : Entity, state : AState, context : String, wire : Num) : unknownno docs found
AState.create(..)
Section titled “AState.create(..)”AState.create(in_name : String, in_parent : AState) : AStateno docs found
EntityState
Section titled “EntityState”import "luxe: world/states" for EntityStateno docs found
Variables
Section titled “Variables”var time : Num = 0var timestamp : Num = 0var actions_enter : List = []var actions_enter_with_states : List = []var actions_reenter : List = []var actions_exit : List = []var actions_tick : List = []var actions_if : List = []var actions_wire : Map = {}var actions_change : List = []var state : AState = nullvar entity : Entity = 0EntityState.new(..)
Section titled “EntityState.new(..)”EntityState.new(in_state : AState, in_entity : Entity) : EntityStateno docs found
EntityStates
Section titled “EntityStates”import "luxe: world/states" for EntityStatesno docs found
Variables
Section titled “Variables”var container : States = nullvar entity : Entity = 0var active : List = []var previous : AState = nullvar current : AState = nullvar next : AState = nullEntityStates.new(..)
Section titled “EntityStates.new(..)”EntityStates.new(in_container : States, in_entity : Entity) : EntityStatesno docs found
EntityStates.is_active(.)
Section titled “EntityStates.is_active(.)”EntityStates.is_active(state : AState) : unknownno docs found
EntityStates.make_inactive(.)
Section titled “EntityStates.make_inactive(.)”EntityStates.make_inactive(state : AState) : unknownno docs found
EntityStates.make_active(.)
Section titled “EntityStates.make_active(.)”EntityStates.make_active(state : AState) : unknownno docs found
EntityStates.get_tree(.)
Section titled “EntityStates.get_tree(.)”EntityStates.get_tree(state : AState) : unknownno docs found
EntityStates.goto(.)
Section titled “EntityStates.goto(.)”EntityStates.goto(goto_state : AState) : unknownno docs found
EntityStates.tick(..)
Section titled “EntityStates.tick(..)”EntityStates.tick(non_world_delta : Num, delta : Num) : unknownno docs found
import "luxe: world/states" for Opno docs found
Op.equal
Section titled “Op.equal”Op.equal : unknownno docs found
Op.lt : unknownno docs found
Op.lte
Section titled “Op.lte”Op.lte : unknownno docs found
Op.gt : unknownno docs found
Op.gte
Section titled “Op.gte”Op.gte : unknownno docs found
States
Section titled “States”import "luxe: world/states" for Statesno docs found
Variables
Section titled “Variables”var world : World = 0var data_block : Block = 0var data_listener : String = nullvar entities : Map = {}States.tick(.)
Section titled “States.tick(.)”States.tick(delta : Num) : unknownno docs found
States.goto(..)
Section titled “States.goto(..)”States.goto(entity : Entity, state : AState) : unknownno docs found
States.get(.)
Section titled “States.get(.)”States.get(entity : Entity) : EntityStatesno docs found
States.register(.)
Section titled “States.register(.)”States.register(entity : Entity) : unknownno docs found
States.listen_for_changes(.)
Section titled “States.listen_for_changes(.)”States.listen_for_changes() : unknownno docs found
States.new(..)
Section titled “States.new(..)”States.new(in_world : World, in_data_block : Block) : Statesno docs found
States.destroy(.)
Section titled “States.destroy(.)”States.destroy() : unknownno docs found
WireAction
Section titled “WireAction”import "luxe: world/states" for WireActionno docs found
Variables
Section titled “Variables”var entity : Entity = 0var connect : String = nullvar context : String = nullvar wire : Num = 0var states : List = []WireAction.new(.)
Section titled “WireAction.new(.)”WireAction.new() : WireActionno docs found