Wizard Engine
2D cross-platform game engine built around SDL2
 
Loading...
Searching...
No Matches
entity.hpp File Reference

Composes composable objects. More...

Go to the source code of this file.

Classes

class  wze::entity
 

Namespaces

namespace  wze
 Wizard Engine.
 

Detailed Description

Composes composable objects.

Default virtual destructor.

Explicitly composes the components of the entity and erases expired ones.

Constructs an entity instance.

Sets whether the y position is affected by the angle.

Returns whether the y position is affected by the angle.

Sets whether the x position is affected by the angle.

Returns whether the x position is affected by the angle.

Sets whether the angle is attached to entities.

Returns whether the angle is attached to entities.

Sets whether the y position is attached to entities.

Returns whether the y position is attached to entities.

Sets whether the x position is attached to entities.

Returns whether the x position is attached to entities.

Sets the angle offset of the entity.

Returns the angle offset of the entity.

Sets the y offset of the entity.

Returns the y offset of the entity.

Sets the x offset of the entity.

Returns the x offset of the entity.

Sets the angle of the entity.

Returns the angle of the entity.

Sets the y position of the entity.

Returns the y position of the entity.

Sets the x position of the entity.

Returns the x position of the entity.

Returns the components of the entity.

Updates the properties of the components.

Updates the angle of a component instance.

Updates the y position of a component instance.

Updates the x position of a component instance.

Author
Zana Domán
Zana Domán
Parameters
updaterProperty updaters.
Author
Zana Domán
Returns
Components of the entity.
Author
Zana Domán
Returns
X position of the entity.
Author
Zana Domán
Parameters
xX position of the entity.
Author
Zana Domán
Returns
Y position of the entity.
Author
Zana Domán
Parameters
yY position of the entity.
Author
Zana Domán
Returns
Angle of the entity.
Author
Zana Domán
Parameters
angleAngle of the entity.
Author
Zana Domán
Returns
X offset of the entity.
Author
Zana Domán
Parameters
x_offsetX offset of the entity.
Author
Zana Domán
Returns
Y offset of the entity.
Author
Zana Domán
Parameters
y_offsetY offset of the entity.
Author
Zana Domán
Returns
Angle offset of the entity.
Author
Zana Domán
Parameters
angle_offsetAngle offset of the entity.
Author
Zana Domán
Returns
Whether the x position is attached to entities.
Author
Zana Domán
Parameters
attach_xWhether the x position is attached to entities.
Author
Zana Domán
Returns
Whether the y position is attached to entities.
Author
Zana Domán
Parameters
attach_yWhether the y position is attached to entities.
Author
Zana Domán
Returns
Whether the angle is attached to entities.
Author
Zana Domán
Parameters
attach_angleWhether the angle is attached to entities.
Author
Zana Domán
Returns
Whether the x position is affected by the angle.
Author
Zana Domán
Parameters
x_angle_lockWhether the x position is affected by the angle.
Author
Zana Domán
Returns
Whether the y position is affected by the angle.
Author
Zana Domán
Parameters
y_angle_lockWhether the y position is affected by the angle.
Author
Zana Domán
Parameters
componentsComponents of the entity.
xX position of the entity.
yY position of the entity.
angleAngle of the entity.
x_offsetX offset of the entity.
y_offsetY offset of the entity.
angle_offsetAngle offset of the entity.
attach_xWhether the x position is attached to entities.
attach_yWhether the y position is attached to entities.
attach_angleWhether tha angle is attached to entities.
x_angle_lockWhether the x position is affected by the angle.
y_angle_lockWhether the y position is affected by the angle.

Definition in file entity.hpp.