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

Interface to make an object composable. More...

Go to the source code of this file.

Classes

class  wze::component
 

Namespaces

namespace  wze
 Wizard Engine.
 

Detailed Description

Interface to make an object composable.

Default virtual destructor.

Returns whether the y position is affected by the angle.

Returns whether the x position is affected by the angle.

Returns whether the angle is attached to entities.

Returns whether the y position is attached to entities.

Returns whether the x position is attached to entities.

Returns the angle offset of the object.

Returns the y offset of the object.

Returns the x offset of the object.

Sets the angle of the object.

Sets the y position of the object.

Sets the x position of the object.

Author
Zana Domán
Zana Domán
Parameters
xX position of the object.
Author
Zana Domán
Parameters
yY position of the object.
Author
Zana Domán
Parameters
angleAngle of the object.
Author
Zana Domán
Returns
X offset of the object.
Author
Zana Domán
Returns
Y offset of the object.
Author
Zana Domán
Returns
Angle offset of the object.
Author
Zana Domán
Returns
Whether the x position is attached to entities.
Author
Zana Domán
Returns
Whether the y position is attached to entities.
Author
Zana Domán
Returns
Whether the angle is attached to entities.
Author
Zana Domán
Returns
Whether the x position is affected by the angle.
Author
Zana Domán
Returns
Whether the y position is affected by the angle.

Definition in file component.hpp.