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

Interface to make an object renderable. More...

Go to the source code of this file.

Classes

class  wze::renderable
 

Namespaces

namespace  wze
 Wizard Engine.
 

Detailed Description

Interface to make an object renderable.

Copy assignment operator.

Destroys the renderable instance and erases from instances.

Copy constructor.

Constructs a renderable instance and pushes into instances.

Returns the priority of the object in the render queue.

Returns the visibility of the object.

Returns whether the object is flipped on one of its axes.

Returns the alpha color modifier of the texture.

Returns the blue color modifier of the texture.

Returns the green color modifier of the texture.

Returns the red color modifier of the texture.

Returns the texture of the object.

Returns whether the object is spatial or not.

Returns the height of the object.

Returns the width of the object.

Returns the angle of the object.

Returns the z position of the object.

Returns the y position of the object.

Returns the x position of the object.

Returns the screen angle of the object.

Returns the screen area of the object.

Author
Zana Domán
Zana Domán
Returns
Screen area of the object.
Author
Zana Domán
Returns
Screen angle of the object.
Author
Zana Domán
Returns
X position of the object.
Author
Zana Domán
Returns
Y position of the object.
Author
Zana Domán
Returns
Z position of the object.
Note
Ignored if the object is not spatial.
Author
Zana Domán
Returns
Angle of the object.
Author
Zana Domán
Returns
Width of the object.
Author
Zana Domán
Returns
Height of the object.
Author
Zana Domán
Returns
Whether the object is spatial or not.
Author
Zana Domán
Returns
Texture of the object.
Author
Zana Domán
Returns
Red color modifier of the texture.
Author
Zana Domán
Returns
Green color modifier of the texture.
Author
Zana Domán
Returns
Blue color modifier of the texture.
Author
Zana Domán
Returns
Alpha color modifier of the texture.
Author
Zana Domán
Returns
Whether the object is flipped on one of its axes.
Author
Zana Domán

Visibility of the object.

Author
Zana Domán

Priority of the object in the render queue.

Author
Zana Domán
Parameters
otherOther renderable instance.
Author
Zana Domán
Parameters
otherOther renderable instance.
Returns
Self reference.

Definition in file renderable.hpp.