![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <StaticWorldObject.hpp>
Public Member Functions | |
| virtual | ~StaticWorldObject () |
| virtual void | Accept (IStaticWorldObjectVisitor &visitor) |
| virtual void | Accept (IStaticWorldObjectConstVisitor &visitor) const |
IUpdateable members. | |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
Public Member Functions inherited from yap::WorldObject | |
| virtual | ~WorldObject () |
| const ID & | GetID () const |
| void | SetID (const ID &id) |
| void | SetCollidableArea (CollidableArea *collidableArea) |
| void | AddPhysicsBoundingBox (BoundingBox *boundingBox) |
| void | RemovePhysicsBoundingBox (BoundingBox *boundingBox) |
| bool | CollidesWith (const CollidableArea &collidableArea, const Vector2 &offset) const |
| void | AdjustCollidablePosition (ICollidable &collidable) const |
| Moves the ICollidable collidable to this WorldObject position. To call once when adding the ICollidable to this WorldObject. | |
| virtual const Vector2 & | GetPosition () const |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const |
| virtual const Vector2 & | GetBottomRight () const |
| virtual const Vector2 & | GetCenter () const |
| virtual const FloatRect & | GetRectangle () const |
| virtual void | Move (const Vector2 &offset) |
| virtual void | Scale (const Vector2 &factor) |
| virtual void | SetPosition (const Vector2 &position) |
| virtual void | SetSize (const Vector2 &size) |
| virtual const int & | GetZ () const |
| Gets the highness of this ISpatial3. | |
| virtual void | SetZ (int z) |
| Sets the highness of this ISpatial3. | |
| virtual const int & | GetH () const |
| Gets the height of this ISpatial3. | |
| virtual void | SetH (int h) |
| Sets the height of this ISpatial3. | |
| virtual bool | CollidesWith (const ICollidable &other) const |
| virtual bool | CollidesWith (const ICollidable &other, const Vector2 &offset) const |
| virtual WorldObject * | Clone () const |
Public Member Functions inherited from yap::ICollidable | |
| virtual | ~ICollidable () |
Public Member Functions inherited from yap::ISpatial3 | |
| virtual | ~ISpatial3 () |
Public Member Functions inherited from yap::ISpatial | |
| virtual | ~ISpatial () |
Public Member Functions inherited from yap::IIDLoadable | |
| virtual | ~IIDLoadable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Protected Member Functions | |
| StaticWorldObject (const ID &id) | |
| StaticWorldObject (const StaticWorldObject ©) | |
| virtual void | HandleUpdate (const Time &dt) |
Protected Member Functions inherited from yap::WorldObject | |
| WorldObject (const ID &id) | |
| WorldObject (const WorldObject ©) | |
| const PhysicsBoundingBoxCollection & | GetPhysicsBoundingBoxes () const |
| virtual void | HandleSetCollidableArea (CollidableArea *collidableArea) |
| virtual Vector2 | HandleGetSize () const |
| virtual void | HandleMove (const Vector2 &offset) |
| virtual void | HandleScale (const Vector2 &factor) |
| virtual void | HandleSetZ (int z) |
| virtual void | HandleSetH (int h) |
Private Member Functions | |
| DISALLOW_ASSIGN (StaticWorldObject) | |
Definition at line 14 of file StaticWorldObject.hpp.
|
virtual |
Definition at line 12 of file StaticWorldObject.cpp.
|
explicitprotected |
Definition at line 7 of file StaticWorldObject.cpp.
|
protected |
Definition at line 16 of file StaticWorldObject.cpp.
|
virtual |
Reimplemented in yap::MapElement.
Definition at line 21 of file StaticWorldObject.cpp.
|
virtual |
Reimplemented in yap::MapElement.
Definition at line 26 of file StaticWorldObject.cpp.
|
private |
|
protectedvirtual |
Reimplemented in ycl::MapElement.
Definition at line 37 of file StaticWorldObject.cpp.
|
virtual |
Makes the object evolve for one frame of the game.
| dt | Delta time since the last frame. |
Implements yap::IUpdateable.
Definition at line 32 of file StaticWorldObject.cpp.