Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
game::component::GraphicRectangular Class Reference

#include <graphic_rectangular.h>

Inheritance diagram for game::component::GraphicRectangular:
Inheritance graph
[legend]
Collaboration diagram for game::component::GraphicRectangular:
Collaboration graph
[legend]

Public Member Functions

 GraphicRectangular (game::base::GameObject *owner, const std::string &visual_representation, double zindex)
 
 ~GraphicRectangular ()
 
void Update (double dt)
 
void NodeLogic (const std::set< ugdk::math::Integer2D > &occupying_tiles)
 
const ugdk::Vector2D & rect_size () const
 
- Public Member Functions inherited from game::component::Graphic
 Graphic (game::base::GameObject *owner, const std::string &visual_representation, double zindex)
 
virtual ~Graphic ()
 
void SetVisibility (bool visibility)
 
const ugdk::graphic::Node * node () const
 
ugdk::graphic::Node * node ()
 
void OnSceneAdd (ugdk::action::Scene *scene)
 
- Public Member Functions inherited from game::component::ComponentBase
 ComponentBase (game::base::GameObject *owner)
 
 ~ComponentBase ()
 

Additional Inherited Members

- Protected Attributes inherited from game::component::Graphic
ugdk::graphic::Node * node_
 
- Protected Attributes inherited from game::component::ComponentBase
game::base::GameObjectowner_
 

Constructor & Destructor Documentation

game::component::GraphicRectangular::GraphicRectangular ( game::base::GameObject owner,
const std::string &  visual_representation,
double  zindex 
)
game::component::GraphicRectangular::~GraphicRectangular ( )

Member Function Documentation

void game::component::GraphicRectangular::NodeLogic ( const std::set< ugdk::math::Integer2D > &  occupying_tiles)
virtual
const ugdk::Vector2D& game::component::GraphicRectangular::rect_size ( ) const
inline
void game::component::GraphicRectangular::Update ( double  dt)
virtual

The documentation for this class was generated from the following files: