/[anoncvs]/projects/roguelike/View.h


UCC Code Repository

Contents of /projects/roguelike/View.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Apr 6 15:03:46 2006 UTC (15 years, 2 months ago) by banana
Branch: MAIN
Changes since 1.1: +3 -3 lines
File MIME type: text/plain
Walls work!

1 banana 1.1 /*
2     * View - the visible subset of a World
3     */
4    
5     #include "World.h"
6    
7     class View {
8 banana 1.2 World *myWorld;
9    
10     public:
11 banana 1.1 int left, top;
12     int width, height;
13    
14     View(World *w);
15    
16     raw_screen render();
17    
18     void move(int x, int y);
19     void resize(int x, int y);
20     };

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26