

Definition at line 12 of file PosterState.h.
Public Member Functions | |
| PosterState (const Path &picture) | |
| virtual | ~PosterState () |
| virtual const char * | getName () const |
Protected Member Functions | |
| virtual void | own_initState () |
| virtual void | own_updateState () |
| virtual void | own_pauseState () |
| virtual void | own_resumeState () |
| virtual void | own_cleanState () |
Protected Attributes | |
| Picture * | m_bg |
|
|
Definition at line 19 of file PosterState.cpp. 00020 {
00021 m_bg = new Picture(picture, V2(0, 0));
00022 takeHandler(new DemoInput(this));
00023 registerDrawable(m_bg);
00024 }
|
|
|
Definition at line 26 of file PosterState.cpp. 00027 {
00028 delete m_bg;
00029 }
|
|
|
Implements INamed. Definition at line 24 of file PosterState.h. 00024 { return "state_poster"; };
|
|
|
Implements GameState. Definition at line 20 of file PosterState.h. 00020 {}
|
|
|
Implements GameState. Reimplemented in PosterScroller. Definition at line 32 of file PosterState.cpp. 00033 {
00034 OptionAgent *options = OptionAgent::agent();
00035 options->setParam("screen_width", m_bg->getW());
00036 options->setParam("screen_height", m_bg->getH());
00037 VideoAgent::agent()->initVideoMode();
00038 }
|
|
|
Implements GameState. Definition at line 18 of file PosterState.h. 00018 {}
|
|
|
Implements GameState. Definition at line 19 of file PosterState.h. 00019 {}
|
|
|
Implements GameState. Reimplemented in PosterScroller. Definition at line 17 of file PosterState.h. 00017 {}
|
|
|
Definition at line 14 of file PosterState.h. |
1.4.2