BGDraw Class Reference

#include <bgdraw.h>

Collaboration diagram for BGDraw:
[legend]

List of all members.

Public Member Functions

 BGDraw ()
 ~BGDraw ()
void set_display (Screen &s)
void set_background (BGEntity *bge)
void set_paul_info (paul_info *p)
void set_size (int wwidth, int wheight, int mwidth, int mheight, int tsize, int startx, int starty)
void set_char_position (int charx, int chary)
void update_screen ()
void initialize ()
void refresh_all ()
void move (int dir)

Private Attributes

BGEntitybgentity
Screen screen
paul_infopinfo
int tilesize
int tile_start_x
int tile_stop_x
int tile_start_y
int tile_stop_y
int map_offset_x
int map_offset_y


Detailed Description

Definition at line 47 of file bgdraw.h.


Constructor & Destructor Documentation

BGDraw::BGDraw (  ) 

Definition at line 32 of file bgdraw.cpp.

References map_offset_x, map_offset_y, and tilesize.

BGDraw::~BGDraw (  ) 

Definition at line 38 of file bgdraw.cpp.


Member Function Documentation

void BGDraw::set_display ( Screen s  ) 

Definition at line 41 of file bgdraw.cpp.

References BGDRAW_DEBUG, and screen.

Referenced by main().

void BGDraw::set_background ( BGEntity bge  ) 

Definition at line 46 of file bgdraw.cpp.

References bgentity.

Referenced by main().

void BGDraw::set_paul_info ( paul_info p  ) 

Definition at line 50 of file bgdraw.cpp.

References pinfo.

Referenced by main().

void BGDraw::set_size ( int  wwidth,
int  wheight,
int  mwidth,
int  mheight,
int  tsize,
int  startx,
int  starty 
)

void BGDraw::set_char_position ( int  charx,
int  chary 
)

Definition at line 80 of file bgdraw.cpp.

References paul_info::paul_ax, paul_info::paul_ay, pinfo, and tilesize.

void BGDraw::update_screen (  ) 

Definition at line 206 of file bgdraw.cpp.

void BGDraw::initialize (  ) 

void BGDraw::refresh_all (  ) 

Definition at line 211 of file bgdraw.cpp.

void BGDraw::move ( int  dir  ) 

Definition at line 178 of file bgdraw.cpp.

References initialize(), paul_info::paul_ax, paul_info::paul_ay, and pinfo.


Member Data Documentation

Definition at line 49 of file bgdraw.h.

Referenced by initialize(), and set_background().

Definition at line 50 of file bgdraw.h.

Referenced by initialize(), and set_display().

Definition at line 51 of file bgdraw.h.

Referenced by initialize(), move(), set_char_position(), set_paul_info(), and set_size().

int BGDraw::tilesize [private]

Definition at line 52 of file bgdraw.h.

Referenced by BGDraw(), initialize(), set_char_position(), and set_size().

int BGDraw::tile_start_x [private]

Definition at line 53 of file bgdraw.h.

Referenced by initialize().

int BGDraw::tile_stop_x [private]

Definition at line 53 of file bgdraw.h.

Referenced by initialize().

int BGDraw::tile_start_y [private]

Definition at line 53 of file bgdraw.h.

Referenced by initialize().

int BGDraw::tile_stop_y [private]

Definition at line 53 of file bgdraw.h.

Referenced by initialize().

int BGDraw::map_offset_x [private]

Definition at line 54 of file bgdraw.h.

Referenced by BGDraw(), and initialize().

int BGDraw::map_offset_y [private]

Definition at line 54 of file bgdraw.h.

Referenced by BGDraw(), and initialize().


The documentation for this class was generated from the following files:

Generated on Thu May 22 10:42:42 2008 for piedmont by  doxygen 1.5.5