vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
turtlestack.h
Go to the documentation of this file.
1
#ifndef TURTLESTACK_H_
2
#define TURTLESTACK_H_
3
4
#include <stack>
5
#include "
abstractturtle.h
"
6
#include "
lsgeode.h
"
7
8
using
std::stack;
9
10
namespace
AP_LSystem {
11
15
class
TurtleStack
16
{
17
private
:
18
stack< AbstractTurtle * > m_Turtles;
19
25
AbstractTurtle
* createTurtle(
TurtleType
type
);
26
public
:
27
TurtleStack
(
void
);
28
~TurtleStack
(
void
);
29
34
int
pop
( );
35
42
int
push
( );
43
50
int
push
(
LSGeode
* geode);
51
56
AbstractTurtle
*
top
( );
57
61
void
clear
( );
62
};
63
}
64
65
#endif
include
vreckoAP
Garden
turtlestack.h
Generated on Tue Feb 19 2013 10:23:44 for vrecko by
1.8.3.1