00001 #include "state.h"
00002 #include "debug.h"
00003
00004 using namespace irr;
00005 using namespace core;
00006
00007 extern Debug* dbg;
00008
00009 State::State(c8* n, IrrlichtDevice* d)
00010 {
00011
00012 dbg->log("create State", n);
00013 name = stringc(n);
00014 device = d;
00015 }
00016
00017 State::~State()
00018 {
00019
00020 }
00021
00022 stringc State::getName()
00023 {
00024 return name;
00025 }
00026
00027 void State::entry()
00028 {
00029 dbg->log("State", name, "entry");
00030 }
00031
00032 void State::exit()
00033 {
00034 dbg->log("State", name, "entry");
00035 }
00036