- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# C:/Documents and Settings/jegan/Desktop/projectX/CutScene.h

Go to the documentation of this file.

    00001 #ifndef CUTSCENE_H
    00002 #define CUTSCENE_H
    00003
    00004 #include "Object.h"
    00005 #include "Parser.h"
    00006
    00007 #include <queue>
    00008
    00009 class CutScene : public Object {
    00010 public:
    00011         CutScene(List *info, int x, int y);
    00012         ~CutScene();
    00013
    00014         virtual Object *copy();
    00015
    00016         void load(List *info);
    00017         void update() { _keyTimer++;}
    00018         void draw() {;}
    00019         void collide( Object* o );
    00020         void control();
    00021
    00022         void activate();
    00023 private:
    00024         bool _active;
    00025         std::queue<List *> _scene;
    00026         std::queue<int> _waitTime;
    00027
    00028         int _keyTimer;
    00029
    00030         void runScene();
    00031
    00032 };
    00033
    00034 #endif