Frame of Reference Game API
1.0.3
|
An entity that can be placed on a Terrain<TTemplate>. More...
Public Member Functions | |
override void | Update (double elapsedTime) |
int | GetCurrentWaypointIndex (double gameTime) |
Determines the currently active Waypoints entry. More... | |
bool | CollisionTest (Vector2 point) |
Determines whether a certain point collides with this entity (based on its Collision<TCoordinates> component). More... | |
bool | CollisionTest (Quadrangle area) |
Determines whether a certain area collides with this entity (based on its Collision<TCoordinates> component). More... | |
Public Member Functions inherited from AlphaFramework.World.Positionables.EntityBase< Vector2, EntityTemplate > | |
override string | ToString () |
override Positionable< TCoordinates > | Clone () |
Public Member Functions inherited from AlphaFramework::World::Positionables::Positionable< class > | |
override string | ToString () |
Properties | |
float | Rotation [get, set] |
The horizontal rotation of the view direction in degrees. More... | |
bool | IsPlayerControlled [get, set] |
true if this entity is controlled by a human player, false if it is controlled by the computer. More... | |
int | ActiveWaypointIndex = -1 [get, set] |
The Waypoints index of the Waypoint this entity is currently moving towards; -1 for no Waypoint. More... | |
List< Waypoint > | Waypoints = new List<Waypoint>() [get] |
The Waypoints associated with this entity ordered by Waypoint.ActivationTime. More... | |
Properties inherited from AlphaFramework.World.Positionables.EntityBase< Vector2, EntityTemplate > | |
string | TemplateName |
TTemplate? | TemplateData |
StoredPath< TCoordinates > | CurrentPath |
Properties inherited from AlphaFramework::World::Positionables::Positionable< class > | |
string | Name |
TCoordinates | Position |
Properties inherited from AlphaFramework::World::Positionables::ITemplated | |
string | TemplateName |
Additional Inherited Members | |
Static Public Member Functions inherited from AlphaFramework.World.Positionables.EntityBase< Vector2, EntityTemplate > | |
static IDisposable | MaskTemplateData () |
Protected Member Functions inherited from AlphaFramework::World::Positionables::Positionable< class > | |
virtual void | OnChanged () |
void | OnChangedRebuild () |
Events inherited from AlphaFramework::World::Positionables::Positionable< class > | |
Action< Positionable< TCoordinates > > | Changed |
Action< Positionable< TCoordinates > > | ChangedRebuild |
An entity that can be placed on a Terrain<TTemplate>.
|
inline |
Determines whether a certain point collides with this entity (based on its Collision<TCoordinates> component).
point | The point to check for collision in world space. |
true
if the point does collide with this entity, false
otherwise.
|
inline |
Determines whether a certain area collides with this entity (based on its Collision<TCoordinates> component).
area | The area to check for collision in world space. |
true
if the area does collide with this entity, false
otherwise.
|
inline |
|
getset |
|
getset |
true
if this entity is controlled by a human player, false
if it is controlled by the computer.
|
getset |
The horizontal rotation of the view direction in degrees.
The Waypoints associated with this entity ordered by Waypoint.ActivationTime.