- Main Page
- Classes
- Files

- File List
- File Members

# C:/Users/Public/AGS Final Folder/BFLETCHER D4010283/Source/Game/Source/BreakoutSplashScreenScene.cpp

Go to the documentation of this file.

    00001 #include "BreakoutSplashScreenScene.h"
    00002
    00003 BreakoutSplashScreenScene::BreakoutSplashScreenScene()
    00004 : m_agsText(0), m_myName(0), m_loadingText(0)
    00005 {
    00006
    00007 }
    00008
    00009 BreakoutSplashScreenScene::~BreakoutSplashScreenScene()
    00010 {
    00011
    00012 }
    00013
    00014 void BreakoutSplashScreenScene::Initialise()
    00015 {
    00016         m_agsText = Visualisation::getSingleton()->CreateSpriteText("AGS 2008", ColourRGB(255, 255, 255));
    00017         m_myName = Visualisation::getSingleton()->CreateSpriteText("Billy Fletcher", ColourRGB(255,0,0));
    00018         m_loadingText = Visualisation::getSingleton()->CreateSpriteText(". . . L O A D I N G . . .", ColourRGB(80,80,255));
    00019 }
    00020
    00021 void BreakoutSplashScreenScene::Draw()
    00022 {
    00023         Visualisation::getSingleton()->ClearScreen();
    00024         Visualisation::getSingleton()->DrawSprite(m_agsText, 128, 100);
    00025         Visualisation::getSingleton()->DrawSprite(m_myName, 104, 120);
    00026         Visualisation::getSingleton()->DrawSprite(m_loadingText, 64, 200);
    00027 }
    00028
    00029 void BreakoutSplashScreenScene::Update()
    00030 {
    00031 }
    00032
    00033 void BreakoutSplashScreenScene::Shutdown()
    00034 {
    00035         Visualisation::getSingleton()->RemoveSprite(m_agsText);
    00036         Visualisation::getSingleton()->RemoveSprite(m_myName);
    00037         Visualisation::getSingleton()->RemoveSprite(m_loadingText);
    00038 }
    00039
    00040 void BreakoutSplashScreenScene::Activate()
    00041 {
    00042         m_bIsActive = true;
    00043 }
    00044
    00045 void BreakoutSplashScreenScene::Deactivate()
    00046 {
    00047         m_bIsActive = false;
    00048 }
    00049
    00050 bool BreakoutSplashScreenScene::HandleEvent(IEvent *pEvent)
    00051 {
    00052         return false;
    00053 }