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


UCC Code Repository

Contents of /projects/roguelike/View.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Apr 4 10:51:36 2006 UTC (15 years, 2 months ago) by banana
Branch: MAIN
Branch point for: ucc
File MIME type: text/plain
Initial revision

1 banana 1.1 /*
2     * View - the visible subset of a World
3     */
4    
5     #include "World.h"
6    
7     class View {
8     int left, top;
9     int width, height;
10    
11     World *myWorld;
12    
13     public:
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