Roguelike
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Protected Attributes | List of all members
game::component::Graphic Class Referenceabstract

#include <graphic.h>

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

Public Member Functions

 Graphic (game::base::GameObject *owner, const std::string &visual_representation, double zindex)
 
virtual ~Graphic ()
 
virtual void Update (double dt)=0
 
virtual void NodeLogic (const std::set< ugdk::math::Integer2D > &occupying_tiles)=0
 
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 ()
 

Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

const ugdk::graphic::Node* game::component::Graphic::node ( ) const
inline
ugdk::graphic::Node* game::component::Graphic::node ( )
inline
virtual void game::component::Graphic::NodeLogic ( const std::set< ugdk::math::Integer2D > &  occupying_tiles)
pure virtual
void game::component::Graphic::OnSceneAdd ( ugdk::action::Scene *  scene)
void game::component::Graphic::SetVisibility ( bool  visibility)
virtual void game::component::Graphic::Update ( double  dt)
pure virtual

Member Data Documentation

ugdk::graphic::Node* game::component::Graphic::node_
protected

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