ControllableEntity

Inherits from PhysicsEntity

Summary

Constructors

ControllableEntity(other: EntityBusPeer)
ControllableEntity(other: Entity)
ControllableEntity(other: SpatialEntity)
ControllableEntity(other: GameEntity)
ControllableEntity(other: PhysicsEntity)

Properties

Name Type
entryCount int
teamId TeamId
defaultTeamId TeamId

Methods

Method Returns
GetPlayerInEntry(entryId: int) Player | nil
GetDataForEntry(entryId: int) DataContainer | nil
GetExternalInput(entryId: int) EntryInput | nil
SetExternalInput(entryId: int, input: EntryInput | nil) void

Static members

Name Type
ControllableEntity.typeInfo TypeInformation

Constructors

ControllableEntity

ControllableEntity(other: EntityBusPeer)

Parameters

Name Type Description
other EntityBusPeer

ControllableEntity

ControllableEntity(other: Entity)

Parameters

Name Type Description
other Entity

ControllableEntity

ControllableEntity(other: SpatialEntity)

Parameters

Name Type Description
other SpatialEntity

ControllableEntity

ControllableEntity(other: GameEntity)

Parameters

Name Type Description
other GameEntity

ControllableEntity

ControllableEntity(other: PhysicsEntity)

Parameters

Name Type Description
other PhysicsEntity

Properties

entryCount

int

teamId

TeamId

defaultTeamId

TeamId

Methods

GetPlayerInEntry

GetPlayerInEntry(entryId: int): Player | nil

Parameters

Name Type Description
entryId int

Returns

Type Description
Player | nil

GetDataForEntry

GetDataForEntry(entryId: int): DataContainer | nil

Parameters

Name Type Description
entryId int

Returns

Type Description
DataContainer | nil

GetExternalInput

GetExternalInput(entryId: int): EntryInput | nil

Parameters

Name Type Description
entryId int

Returns

Type Description
EntryInput | nil

SetExternalInput

SetExternalInput(entryId: int, input: EntryInput | nil)

Parameters

Name Type Description
entryId int
input EntryInput | nil

Static members

typeInfo

TypeInformation

Last modified May 23, 2022: fix: inherits from EntityBusPeer (4eabb2cb)