Class ControllerLogic
Base class for Controller entities
Inheritance
ControllerLogic
Assembly: LiteEntitySystem.dll
Syntax
[EntityFlags(EntityFlags.OnlyForOwner)]
public abstract class ControllerLogic : InternalEntity, IComparable<InternalEntity>
Constructors
ControllerLogic(EntityParams)
Declaration
protected ControllerLogic(EntityParams entityParams)
Parameters
Properties
IsBot
Is controller - AI controller
Declaration
public abstract bool IsBot { get; }
Property Value
Methods
BeforeControlledUpdate()
Declaration
public virtual void BeforeControlledUpdate()
DestroyWithControlledEntity()
Declaration
public void DestroyWithControlledEntity()
GetControlledEntity<T>()
Declaration
public T GetControlledEntity<T>() where T : PawnLogic
Returns
Type Parameters
StartControl(PawnLogic)
Declaration
public void StartControl(PawnLogic target)
Parameters
StopControl()
Declaration
public void StopControl()
Implements