duncan
Mom and Dad were wrong!
/home/malcolm/tmp/duncan/prototype/0/client/startstate.h
00001 #ifndef CLIENT_TARTSTATE_H_
00002 #define CLIENT_TARTSTATE_H_
00003 
00004 #include <ncurses.h>
00005 #include <string>
00006 #include "inputline.h"
00007 #include "state.h"
00008 #include "input.h"
00009 #include "gamestate.h"
00010 
00011 namespace client {
00012 
00022 class StartState : public State {
00023         private:
00024                 State::Action state_;
00025                 InputLine name_, ip_;
00026                 bool changed_, getip_;
00027                 std::tr1::shared_ptr<GameState> child_;
00028 
00029                 void on_press(unsigned int,bool);
00030         public:
00031                 StartState();
00032 
00033                 std::tr1::shared_ptr<State> child();
00034                 void resize(unsigned int,unsigned int);
00035                 void on_push();
00036                 void on_active();
00037                 State::Action update();
00038                 void draw();
00039 };
00040 
00041 } // namespace
00042 
00043 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerations