Kukatz 3D  0.1
Török Attila szakdolgozata
Kukac osztályreferencia
A Kukac osztály származási diagramja:
[Jelmagyarázat]
A Kukac osztály együttműködési diagramja:
[Jelmagyarázat]

A tagok teljes listája.

Osztályok

struct  body_part_t

Publikus tagfüggvények

 Kukac (Grid &, unsigned int, const sf::Vector3i &, const sf::Vector3i &, const sf::Vector3i &, unsigned int, float)
virtual void update (float)
virtual void render ()
void step ()
void reverse ()
void grow (unsigned int)
void accelerate (float)
void die ()
void turn_left ()
void turn_right ()
void turn_up ()
void turn_down ()
void turn_random ()
bool can_move_to (const sf::Vector3i &)
const bool & is_alive () const
const float & get_ratio () const
const float & get_speed () const
unsigned int get_length () const
const unsigned int & get_growth () const
const bool & did_move () const
const bool & did_reverse () const

Publikus attribútumok

Gridgrid
unsigned int type
body_part_t * head
body_part_t * tail
AnimatedObjectneck_forward
AnimatedObjectneck_turn
sf::Vector3i direction
sf::Vector3i next_direction
sf::Vector3i upward
sf::Vector3i next_upward

Részletes leírás

Definíció a(z) kukac.hpp fájl 35. sorában.


Ez a dokumentáció az osztályról a következő fájlok alapján készült:
 Összes Osztályok