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


UCC Code Repository

Contents of /projects/roguelike/View.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Apr 7 02:09:07 2006 UTC (15 years, 2 months ago) by banana
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +4 -0 lines
File MIME type: text/plain
New class, header cleanups with pragma once

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

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26