Oodle/src/CBarndoorsTransition.h
raw| 1 | #ifndef _CBARNDOORSTRANSITION_ |
| 2 | #define _CBARNDOORSTRANSITION_ |
| 3 | |
| 4 | #include "CTransition.h" |
| 5 | #include "CSprite.h" |
| 6 | #include "CSurface.h" |
| 7 | |
| 8 | class CBarndoorsTransition : public CTransition |
| 9 | { |
| 10 | public: |
| 11 | CBarndoorsTransition(const CSurface &a, const CSurface &b); |
| 12 | |
| 13 | void update(); |
| 14 | void draw(CSurface &dest); |
| 15 | bool done(); |
| 16 | |
| 17 | private: |
| 18 | CSprite leftDoor, rightDoor; |
| 19 | const CSurface &b; |
| 20 | }; |
| 21 | |
| 22 | #endif |