YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::ISpatial3 Struct Reference

Interface representing objects that evolve in 3D space. More...

#include <ISpatial3.hpp>

Inheritance diagram for yap::ISpatial3:
Collaboration diagram for yap::ISpatial3:

List of all members.

Public Member Functions

virtual ~ISpatial3 ()
virtual const int & GetZ () const =0
 Gets the highness of this ISpatial3.
virtual void SetZ (int z)=0
 Sets the highness of this ISpatial3.
virtual const int & GetH () const =0
 Gets the height of this ISpatial3.
virtual void SetH (int h)=0
 Sets the height of this ISpatial3.
- Public Member Functions inherited from yap::ISpatial
virtual ~ISpatial ()
virtual const Vector2GetPosition () const =0
 Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
virtual const Vector2GetSize () const =0
 Gets the size in pixels of this ISpatial.
virtual const Vector2GetTopLeft () const =0
virtual const Vector2GetBottomRight () const =0
virtual const Vector2GetCenter () 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

Detailed Description

Interface representing objects that evolve in 3D space.

Definition at line 10 of file ISpatial3.hpp.


Constructor & Destructor Documentation

virtual yap::ISpatial3::~ISpatial3 ( )
inlinevirtual

Definition at line 12 of file ISpatial3.hpp.


Member Function Documentation

virtual const int& yap::ISpatial3::GetH ( ) const
pure virtual

Gets the height of this ISpatial3.

Returns:
The height of this ISpatial3.

Implemented in yap::WorldObject, yap::BoundingBoxCollection, and yap::BoundingBox.

Here is the caller graph for this function:

virtual const int& yap::ISpatial3::GetZ ( ) const
pure virtual

Gets the highness of this ISpatial3.

Returns:
The highness of this ISpatial3.

Implemented in yap::WorldObject, yap::BoundingBoxCollection, and yap::BoundingBox.

Here is the caller graph for this function:

virtual void yap::ISpatial3::SetH ( int  h)
pure virtual

Sets the height of this ISpatial3.

Parameters:
hHeight of this ISpatial3.

Implemented in yap::WorldObject, yap::BoundingBoxCollection, and yap::BoundingBox.

virtual void yap::ISpatial3::SetZ ( int  z)
pure virtual

Sets the highness of this ISpatial3.

Parameters:
zHighness of this ISpatial3.

Implemented in yap::WorldObject, yap::BoundingBoxCollection, and yap::BoundingBox.


The documentation for this struct was generated from the following file: