Mercurial > LightClone
diff LightClone/Source/World.h @ 38:2caa7c7e2cb5
Refactored program; Added dialog
author | koryspansel |
---|---|
date | Wed, 21 Sep 2011 21:40:19 -0700 |
parents | 58a16d529d95 |
children | d0ce73ced12e |
line wrap: on
line diff
--- a/LightClone/Source/World.h Wed Sep 21 20:30:29 2011 -0700 +++ b/LightClone/Source/World.h Wed Sep 21 21:40:19 2011 -0700 @@ -20,6 +20,7 @@ #include "GuiButton.h" #include "CodePanel.h" #include "Program.h" +#include "Dialog.h" /* * World @@ -129,22 +130,27 @@ /* * pLevelDialog */ - GuiImage* pLevelDialog; + //GuiImage* pLevelDialog; /* * pLevelDialogOk */ - GuiButton* pLevelDialogOk; + //GuiButton* pLevelDialogOk; /* * pGameDialog */ - GuiImage* pGameDialog; + //GuiImage* pGameDialog; /* * pGameDialogOk */ - GuiButton* pGameDialogOk; + //GuiButton* pGameDialogOk; + + /* + * kLevelDialog + */ + Dialog<1> kLevelDialog; public: @@ -226,6 +232,11 @@ void ProcessInput(float fElapsed); /* + * OnAction + */ + void OnAction(GuiEventArguments& kArguments); + + /* * OnPlay */ void OnPlay(GuiEventArguments& kArguments);