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


UCC Code Repository

Diff of /projects/roguelike/View.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by banana, Tue Apr 4 10:51:36 2006 UTC revision 1.3 by banana, Fri Apr 7 02:09:07 2006 UTC
# Line 1  Line 1 
1  /*  /*
2   *  View - the visible subset of a World   *  View - the visible subset of a World
3   */   */
4    #pragma once
5    
6    //Includes
7  #include "World.h"  #include "World.h"
8    #include "core.h"
9    
10    //Class definition
11  class View {  class View {
         int left, top;  
         int width, height;  
           
12          World *myWorld;          World *myWorld;
13                    
14  public:  public:
15            int left, top;
16            int width, height;
17            
18          View(World *w);          View(World *w);
19                                    
20          raw_screen render();          raw_screen render();

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26