diff LightClone/Source/LevelOverScreen.h @ 73:0574e2cf8bac

Additional screen types
author koryspansel
date Tue, 11 Oct 2011 17:44:10 -0700
parents
children 40c0b5305de8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LightClone/Source/LevelOverScreen.h	Tue Oct 11 17:44:10 2011 -0700
@@ -0,0 +1,76 @@
+/*
+ * LevelOverScreen
+ */
+
+#ifndef __LEVELOVERSCREEN_H__
+#define __LEVELOVERSCREEN_H__
+
+#include "Core.h"
+#include "Screen.h"
+#include "CameraController.h"
+#include "GuiInterface.h"
+#include "Dialog.h"
+
+/*
+ * LevelOverScreen
+ */
+class LevelOverScreen : public Screen
+{
+	/*
+	 * kCameraController
+	 */
+	CameraController kCameraController;
+
+	/*
+	 * kInterface
+	 */
+	GuiInterface kInterface;
+
+	/*
+	 * pDialog
+	 */
+	MessageDialog* pDialog;
+
+public:
+
+	/*
+	 * Initialize
+	 */
+	virtual ErrorCode Initialize(ServiceProvider* pServiceProvider);
+
+	/*
+	 * Terminate
+	 */
+	virtual void Terminate();
+
+	/*
+	 * Update
+	 */
+	virtual void Update(float fElapsed);
+
+	/*
+	 * Render
+	 */
+	virtual void Render(RenderContext& kContext);
+
+protected:
+
+	/*
+	 * OnEnter
+	 */
+	virtual void OnEnter();
+
+	/*
+	 * OnExit
+	 */
+	virtual void OnExit();
+
+private:
+
+	/*
+	 * OnResult
+	 */
+	void OnResult(GuiEventArguments& kArguments);
+};
+
+#endif //__LEVELOVERSCREEN_H__