Global namespace - Contains all namespaces, classes and functions. More...
Namespaces | |
audio | |
Container for all audio related classes and functions. | |
input | |
Container for all input related classes and functions. | |
priv | |
Window class forward declaration. | |
ui | |
Container for all user interface classes anf functions. | |
utility | |
Container for all utility classes and functions. | |
Classes | |
class | AABB |
An Axis Aligned Bounding Box (AABB) More... | |
class | AdjacencyList |
Construct a list of neighbours for each accessible node/cell in a grid. More... | |
class | Animation |
A frame based animation. More... | |
class | Animator |
Class for animating sprites. More... | |
class | BFS |
Finds a path in a TileMap using the Breadth First Search algorithm. More... | |
class | Body |
A rigid body. More... | |
struct | Borders |
Widget borders. More... | |
class | BoxCollider |
A box collider. More... | |
class | Camera |
A 2D camera that defines what region is shown on screen in a Scene. More... | |
class | CircleCollider |
A circle circle. More... | |
class | CircleShape |
A closed 2D curved shape. More... | |
class | Clock |
Class that measures time. More... | |
class | Collider |
Abstract Base class for colliders. More... | |
struct | CollisionFilterData |
Holds collision filtering data for a collider. More... | |
class | Colour |
RGBA colour. More... | |
class | ContactListener |
Subscribe to contact events. More... | |
class | ConvexShape |
A convex shape. More... | |
class | DFS |
Finds a path in a TileMap using the Depth First Search algorithm. More... | |
class | DistanceJoint |
Constrains two points on two rigid bodies to remain at a fixed distance from each other. More... | |
struct | DistanceJointDefinition |
class | Drawable |
Window class forward declaration. More... | |
class | DrawableContainer |
A container for Drawable objects. More... | |
class | EdgeCollider |
An edge collider is a line segment. More... | |
class | Engine |
Runs the main loop. More... | |
class | Event |
Defines a system event and its parameters. More... | |
class | EventDispatcher |
A singleton class that creates a communication interface between separate parts of a program through event dispatching. More... | |
class | EventEmitter |
Class for creating and publishing events. More... | |
class | FileNotFound |
Exception class for when a file cannot be found. More... | |
class | GameObject |
Scene class forward declaration. More... | |
class | GameObjectContainer |
A container for GameObject instances. More... | |
class | GridMover |
Class for performing grid based movement on an entity in a grid. More... | |
class | GridMoverContainer |
A container for GridMover objects. More... | |
struct | Index |
Represents a position of a tile in the tilemap. More... | |
class | InvalidArgument |
Exception class for when an argument is invalid. More... | |
class | IPathFinderStrategy |
Interface for grid path finder algorithms. More... | |
class | ITransformable |
Interface for transformable entities. More... | |
class | Joint |
Interface for Joint classes. More... | |
struct | JointDefinition |
Define the properties of a Joint. More... | |
class | KeyboardGridMover |
Moves a GameObject in the grid using the keyboard as a movement trigger. More... | |
class | Object |
An abstract base class for entities in IME. More... | |
class | ObjectContainer |
A container for Object instances. More... | |
struct | Padding |
Represents the spacing between the text and the border of a widget. More... | |
class | PolygonCollider |
Solid convex polygon collider. More... | |
class | Property |
Class that can store a value of any type. More... | |
class | PropertyContainer |
A container for a group of properties. More... | |
class | RandomGridMover |
Class for moving a game object randomly in a grid. More... | |
class | Rect |
Class for manipulating 2D axis aligned rectangles. More... | |
class | RectangleShape |
A 2D shape having four sides and four corners (90 degree angles) More... | |
class | RenderLayer |
A layer for drawable entities. More... | |
class | RenderLayerContainer |
Stores and manages a scene's render layers. More... | |
class | ResourceHolder |
Class template for a resource container. More... | |
class | ResourceManager |
Class for loading and storing resources (textures, fonts, sound buffers, images and music) More... | |
class | Scene |
Abstract base class for game scenes. More... | |
class | SceneManager |
Manages game scenes. More... | |
class | Shape |
Abstract base class for geometric figures. More... | |
class | Sprite |
Drawable representation of a texture. More... | |
class | SpriteImage |
Abstract base class for image containers. More... | |
class | SpriteSheet |
Sprite class forward declaration. More... | |
class | TargetGridMover |
Class for moving a game object to a specific position in the grid. More... | |
class | Texture |
Image living on the graphics card that can be used for drawing. More... | |
class | Tile |
A Tilemap tile. More... | |
class | TileMap |
Class for creating a visual 2D grid. More... | |
class | TileMapParser |
Reads a file containing the tilemap data and returns it in grid form. More... | |
class | Time |
Represents a time value. More... | |
class | Timer |
Execute a callback after an interval/delay. More... | |
class | TimerManager |
Manages multiple Timer instances. More... | |
class | Transform |
Transform defined by a position, a rotation and a scale. More... | |
class | Vector2 |
2D vector More... | |
class | Window |
Window that can serve as a target for 2D drawing. More... | |
class | WindowPassKey |
class | World |
The World is responsible for creating, managing, colliding and updating all of the bodies within it. More... | |
Typedefs | |
using | UIntRect = Rect< unsigned int > |
Unsigned int rect. More... | |
using | IntRect = Rect< int > |
Int rect. More... | |
using | FloatRect = Rect< float > |
Float rect. More... | |
using | Vector2i = Vector2< int > |
2D int vector More... | |
using | Vector2u = Vector2< unsigned int > |
2D unsigned int vector More... | |
using | Vector2f = Vector2< float > |
2D float vector More... | |
typedef signed char | Int8 |
typedef unsigned char | Uint8 |
typedef signed short | Int16 |
typedef unsigned short | Uint16 |
typedef signed int | Int32 |
typedef unsigned int | Uint32 |
typedef signed long long | Int64 |
typedef unsigned long long | Uint64 |
template<typename... Args> | |
using | Callback = std::function< void(Args...)> |
Event listener. More... | |
using | Keyboard = ime::input::Keyboard |
using | Key = ime::input::Keyboard::Key |
using | Mouse = ime::input::Mouse |
using | Direction = Vector2i |
Direction of a game object. More... | |
using | TextureHolder = ResourceHolder< Texture > |
Texture holder. More... | |
using | SpriteContainer = DrawableContainer< Sprite > |
Shape object container. More... | |
using | ShapeContainer = DrawableContainer< Shape > |
Sprite object container. More... | |
using | Map = std::vector< std::vector< char > > |
Alias for 2D vector of chars. More... | |
Functions | |
template<typename T > | |
Vector2< T > | operator* (T left, const Vector2< T > &right) |
relates Vector2 More... | |
template<typename T > | |
Vector2< T > & | operator*= (Vector2< T > &left, T right) |
Overload of binary operator *=. More... | |
IME_API bool | operator== (const Index &lhs, const Index &rhs) |
Overload of binary operator ==. More... | |
IME_API bool | operator!= (const Index &lhs, const Index &rhs) |
Overload of binary operator !=. More... | |
IME_API bool | operator== (Time left, Time right) |
Overload of == operator to compare two time values. More... | |
IME_API std::string | bindLeft (ui::Widget::Ptr widget) |
Bind to the x position of a widget. More... | |
IME_API std::string | bindTop (ui::Widget::Ptr widget) |
Bind to the y position of the widget. More... | |
IME_API std::string | bindWidth (ui::Widget::Ptr widget) |
Bind to the width of a widget. More... | |
IME_API std::string | bindHeight (ui::Widget::Ptr widget) |
Bind to the height of a widget. More... | |
IME_API std::string | bindRight (ui::Widget::Ptr widget) |
Bind to the right position of a widget. More... | |
IME_API std::string | bindBottom (ui::Widget::Ptr widget) |
Bind to the bottom position of a widget. More... | |
IME_API std::string | bindPosition (ui::Widget::Ptr widget) |
Bind to the position of the widget. More... | |
IME_API std::string | bindSize (ui::Widget::Ptr widget) |
Bind to the size of the widget. More... | |
IME_API std::string | bindMin (const std::string &value1, const std::string &value2) |
Bind to the minimum value of two values. More... | |
IME_API std::string | bindMax (const std::string &value1, const std::string &value2) |
Bind to the maximum of two values. More... | |
Variables | |
static const Direction | Left = {-1, 0} |
West direction. More... | |
static const Direction | UpLeft = {-1, -1} |
North-West direction. More... | |
static const Direction | Up = {0, -1} |
North direction. More... | |
static const Direction | UpRight = {1, -1} |
North-East direction. More... | |
static const Direction | Right = {1, 0} |
East direction. More... | |
static const Direction | DownRight = {1, 1} |
South-East direction. More... | |
static const Direction | Down = {0, 1} |
South direction. More... | |
static const Direction | DownLeft = {-1, 1} |
South-West direction. More... | |
static const Direction | Unknown = {0, 0} |
Unknown direction. More... | |
Global namespace - Contains all namespaces, classes and functions.
using ime::Callback = typedef std::function<void(Args...)> |
Event listener.
Definition at line 38 of file EventEmitter.h.
using ime::Direction = typedef Vector2i |
Direction of a game object.
Definition at line 37 of file GridMover.h.
using ime::FloatRect = typedef Rect<float> |
using ime::IntRect = typedef Rect<int> |
using ime::Map = typedef std::vector<std::vector<char> > |
using ime::ShapeContainer = typedef DrawableContainer<Shape> |
Sprite object container.
Definition at line 76 of file DrawableContainer.h.
using ime::SpriteContainer = typedef DrawableContainer<Sprite> |
Shape object container.
Definition at line 75 of file DrawableContainer.h.
using ime::TextureHolder = typedef ResourceHolder<Texture> |
Texture holder.
Definition at line 129 of file ResourceHolder.h.
using ime::UIntRect = typedef Rect<unsigned int> |
using ime::Vector2f = typedef Vector2<float> |
using ime::Vector2i = typedef Vector2<int> |
using ime::Vector2u = typedef Vector2<unsigned int> |
|
strong |
Mouse cursor types.
|
strong |
Defines how the frames are arranged on a spritesheet.
Enumerator | |
---|---|
Horizontal | Horizontal frame alignment. |
Vertical | Vertical frame alignment. |
Definition at line 42 of file Animation.h.
|
strong |
The types of joints.
Enumerator | |
---|---|
Distance | Distance joint. |
Definition at line 38 of file JointDefinition.h.
|
strong |
Event class forward declaration.
Keyboard events
Enumerator | |
---|---|
KeyUp | Fired when depressed/held key is released. |
KeyDown | Fired when key is depressed for the first time. |
KeyHeld | Fired when a depressed key remains held. |
Definition at line 38 of file Keyboard.h.
|
strong |
|
strong |
Defines how the movement is triggered based on the state of a key.
Definition at line 35 of file KeyboardGridMover.h.
|
strong |
Resource identifiers (Types of resources that can be handled by resource manager)
Enumerator | |
---|---|
Texture | |
Font | Font. |
Image | Image. |
SoundBuffer | Sound buffer. |
Music | Music. |
Definition at line 48 of file ResourceManager.h.
|
strong |
|
strong |
Text styles.
Enumerator | |
---|---|
Regular | Regular characters, no style. |
Bold | Bold characters. |
Italic | Italic characters. |
Underlined | Underlined characters. |
StrikeThrough | Strike through characters. |
Definition at line 61 of file IWidgetRenderer.h.
IME_API std::string ime::bindBottom | ( | ui::Widget::Ptr | widget | ) |
Bind to the bottom position of a widget.
widget | Widget to bind to |
IME_API std::string ime::bindHeight | ( | ui::Widget::Ptr | widget | ) |
Bind to the height of a widget.
widget | The widget to bind to |
IME_API std::string ime::bindLeft | ( | ui::Widget::Ptr | widget | ) |
Bind to the x position of a widget.
widget | Widget to bind to |
IME_API std::string ime::bindMax | ( | const std::string & | value1, |
const std::string & | value2 | ||
) |
Bind to the maximum of two values.
value1 | The first value |
value2 | The second value |
The values can be relative or absolute. For relative values insert the percentage (%) at the end
IME_API std::string ime::bindMin | ( | const std::string & | value1, |
const std::string & | value2 | ||
) |
Bind to the minimum value of two values.
value1 | The first value |
value2 | The second value |
The values can be relative or absolute. For relative values insert the percentage (%) at the end
IME_API std::string ime::bindPosition | ( | ui::Widget::Ptr | widget | ) |
Bind to the position of the widget.
widget | Widget to bind to |
IME_API std::string ime::bindRight | ( | ui::Widget::Ptr | widget | ) |
Bind to the right position of a widget.
widget | Widget to bind to |
IME_API std::string ime::bindSize | ( | ui::Widget::Ptr | widget | ) |
Bind to the size of the widget.
widget | The widget to bind to |
IME_API std::string ime::bindTop | ( | ui::Widget::Ptr | widget | ) |
Bind to the y position of the widget.
widget | Widget to bind to |
IME_API std::string ime::bindWidth | ( | ui::Widget::Ptr | widget | ) |
Bind to the width of a widget.
widget | The widget to bind to |
Overload of binary operator !=.
lhs | Left operand |
rhs | Right operand |
relates Vector2
Overload of binary operator *
left | Left operand (a scalar value) |
right | Right operand (a vector) |
Overload of binary operator *=.
left | Left operand (a vector) |
right | Right operand (a scalar value) |
This operator performs a memberwise multiplication by right, and assigns the result to left.
Overload of binary operator ==.
lhs | Left operand |
rhs | Right operand |
Overload of == operator to compare two time values.
left | Left operand (a time) |
right | Right operand (a time) |
|
static |
South direction.
Definition at line 44 of file GridMover.h.
|
static |
South-West direction.
Definition at line 45 of file GridMover.h.
|
static |
South-East direction.
Definition at line 43 of file GridMover.h.
|
static |
West direction.
Definition at line 38 of file GridMover.h.
|
static |
East direction.
Definition at line 42 of file GridMover.h.
|
static |
Unknown direction.
Definition at line 46 of file GridMover.h.
|
static |
North direction.
Definition at line 40 of file GridMover.h.
|
static |
North-West direction.
Definition at line 39 of file GridMover.h.
|
static |
North-East direction.
Definition at line 41 of file GridMover.h.