#include <FaceFriend.h>
Public Member Functions | |
| FaceFriend (Face *face) | |
| ~FaceFriend (void) | |
| Face * | GetFace () const |
| Collection * | GetParent () const |
| void | SetParent (Collection *parent) const |
| void | Move (float time, const ml7::Vector2 &offset=ml7::Vector2(0.0f)) |
| void | Draw (float time, const ml7::Vector2 &offset=ml7::Vector2(0.0f)) const |
Static Public Member Functions | |
| static FaceFriend * | Get (Face *face) |
| fl7::faces::FaceFriend::FaceFriend | ( | Face * | face | ) |
Explicit constructor.
| fl7::faces::FaceFriend::~FaceFriend | ( | void | ) |
Destructor.
| void fl7::faces::FaceFriend::Draw | ( | float | time, | |
| const ml7::Vector2 & | offset = ml7::Vector2( 0.0f ) | |||
| ) | const |
Draws the face.
| FaceFriend * fl7::faces::FaceFriend::Get | ( | Face * | face | ) | [static] |
Returns the face friend object of the given face.
| Face* fl7::faces::FaceFriend::GetFace | ( | ) | const [inline] |
Returns the face to provide functionality to friendly faces for.
| Collection * fl7::faces::FaceFriend::GetParent | ( | ) | const |
Returns the parent collection of the face (or NULL if top-window).
| void fl7::faces::FaceFriend::Move | ( | float | time, | |
| const ml7::Vector2 & | offset = ml7::Vector2( 0.0f ) | |||
| ) |
Processes mouse and keyboard inputs.
| void fl7::faces::FaceFriend::SetParent | ( | Collection * | parent | ) | const |
Sets the parent collection of the face.
1.7.1