Class PawnLogic
Base class for entites that can be controlled by Controller
Implements
Inherited Members
Namespace: LiteEntitySystem
Assembly: LiteEntitySystem.dll
Syntax
[EntityFlags(EntityFlags.Updateable)]
public abstract class PawnLogic : EntityLogic, IComparable<InternalEntity>
Constructors
PawnLogic(EntityParams)
Declaration
protected PawnLogic(EntityParams entityParams)
Parameters
Type | Name | Description |
---|---|---|
EntityParams | entityParams |
Properties
Controller
Declaration
public ControllerLogic Controller { get; }
Property Value
Type | Description |
---|---|
ControllerLogic |
Methods
Update()
Fixed update. Called if entity has attribute EntityFlagsAttribute and flag Updateable
Declaration
protected override void Update()