|
El Octavio
1.0
This is a video game about adventures.
|
#include <El Octavo-Functions.h>
Collaboration diagram for Npc:Public Member Functions | |
| Npc (Texture *texture, Vector2u imageCount, float switchTime, float speed, string name) | |
| ~Npc () | |
| void | draw (RenderWindow &window) |
| void | moveX (float amount) |
| void | update (int row, float deltaTime, bool delay) |
| void | moveTo (float pos[], float deltaTime, bool &done, bool &faceLeft) |
Public Attributes | |
| bool | faceLeft |
| IntRect | uvRect |
| RectangleShape | body |
| Vector2f | velocity |
| bool | delay |
Definition at line 27 of file El Octavo-Functions.h.
| Npc::~Npc | ( | ) |
Definition at line 33 of file El Octavo-Functions.cpp.
| void Npc::draw | ( | RenderWindow & | window | ) |
| void Npc::moveTo | ( | float | pos[], |
| float | deltaTime, | ||
| bool & | done, | ||
| bool & | faceLeft | ||
| ) |
Definition at line 75 of file El Octavo-Functions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Npc::moveX | ( | float | amount | ) |
Definition at line 40 of file El Octavo-Functions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void Npc::update | ( | int | row, |
| float | deltaTime, | ||
| bool | delay | ||
| ) |
Definition at line 44 of file El Octavo-Functions.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| RectangleShape Npc::body |
Definition at line 57 of file El Octavo-Functions.h.
| bool Npc::delay |
Definition at line 59 of file El Octavo-Functions.h.
| bool Npc::faceLeft |
Definition at line 55 of file El Octavo-Functions.h.
| IntRect Npc::uvRect |
Definition at line 56 of file El Octavo-Functions.h.
| Vector2f Npc::velocity |
Definition at line 58 of file El Octavo-Functions.h.