| 1 | /*************************************************************************** |
| 2 | paper.h - description |
| 3 | ------------------- |
| 4 | begin : Fri Jan 18 2002 |
| 5 | copyright : (C) 2002 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #ifndef PAPER_H |
| 19 | #define PAPER_Hcxx . . $ `src/paper.h:19:9`! |
| 20 | |
| 21 | #include "animatedcanvas.h"cxx . . $ `<file>/src/animatedcanvas.h`/ |
| 22 | |
| 23 | class Spritecxx . . $ Sprite#; |
| 24 | class ImageManagercxx . . $ ImageManager#; |
| 25 | |
| 26 | class Papercxx . . $ Paper#: public AnimatedCanvascxx . . $ AnimatedCanvas#{ |
| 27 | |
| 28 | public: |
| 29 | static const int DeltaYcxx . . $ Paper#DeltaY.; |
| 30 | static const int NFramescxx . . $ Paper#NFrames.; |
| 31 | |
| 32 | enum PaperColorcxx . . $ Paper#PaperColor# {Redcxx . . $ Paper#Red., Greencxx . . $ Paper#Green., Bluecxx . . $ Paper#Blue.}; |
| 33 | |
| 34 | Papercxx . . $ Paper#Paper(5c34b3c18f01d176).(int maxY, PaperColorcxx . . $ Paper#PaperColor# color, ImageManagercxx . . $ ImageManager# * im); |
| 35 | virtual ~cxx . . $ Paper#`~Paper`(ced63f7c635d850d).Papercxx . . $ Paper#(); |
| 36 | |
| 37 | int widthcxx . . $ Paper#width(b126dc7c1de90089).(); |
| 38 | |
| 39 | int heightcxx . . $ Paper#height(b126dc7c1de90089).(); |
| 40 | |
| 41 | void paintcxx . . $ Paper#paint(dec28a01b93bce57).(VideoManagercxx . . $ VideoManager# * vm); |
| 42 | |
| 43 | void tickcxx . . $ Paper#tick(49f6e7a06ebc5aa8).(); |
| 44 | |
| 45 | protected: |
| 46 | |
| 47 | Spritecxx . . $ Sprite# * spritecxx . . $ Paper#sprite.; |
| 48 | |
| 49 | int framecxx . . $ Paper#frame.; |
| 50 | |
| 51 | int maxYcxx . . $ Paper#maxY.; |
| 52 | |
| 53 | int l_widthcxx . . $ Paper#l_width.; |
| 54 | |
| 55 | int l_heightcxx . . $ Paper#l_height.; |
| 56 | }; |
| 57 | |
| 58 | #endif |
| 59 |