![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
Source area for a rendering entity. More...
#include <ICamera.hpp>
Public Member Functions | |
| virtual | ~ICamera () |
| virtual bool | IsInView (const Vector2 &point) const =0 |
| virtual bool | IsInView (const Vector2 &point, const Vector2 &size) const =0 |
| virtual Vector2 | ToLocal (const Vector2 &globalPoint) const =0 |
| virtual Vector2 | ToGlobal (const Vector2 &localPoint) const =0 |
| virtual const sf::View & | GetInnerView () const =0 |
| virtual Event< ICamera &, const Vector2 & > & | OnMovedEvent () const =0 |
Public Member Functions inherited from yap::ISpatial | |
| virtual | ~ISpatial () |
| virtual const Vector2 & | GetPosition () const =0 |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const =0 |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const =0 |
| virtual const Vector2 & | GetBottomRight () const =0 |
| virtual const Vector2 & | GetCenter () const =0 |
| virtual const sf::FloatRect & | GetRectangle () const =0 |
| virtual void | Move (const Vector2 &offset)=0 |
| virtual void | Scale (const Vector2 &factor)=0 |
| virtual void | SetPosition (const Vector2 &position)=0 |
| virtual void | SetSize (const Vector2 &size)=0 |
Source area for a rendering entity.
Definition at line 15 of file ICamera.hpp.
|
inlinevirtual |
Definition at line 17 of file ICamera.hpp.
|
pure virtual |
Implemented in yap::Camera.
|
pure virtual |
Implemented in yap::Camera.
|
pure virtual |
Implemented in yap::Camera.
Implemented in yap::Camera.