Rectangle Class Reference

#include <rectangle.h>

Inherits Object.

List of all members.

Public Member Functions

 Rectangle (int x, int y, int w, int h, int r, int g, int b)
void Render (SDL_Surface *screen)
 ~Rectangle ()

Private Attributes

SDL_Color m_col


Constructor & Destructor Documentation

Rectangle::Rectangle ( int  x,
int  y,
int  w,
int  h,
int  r,
int  g,
int  b 
)

Rectangle::~Rectangle (  )  [inline]


Member Function Documentation

void Rectangle::Render ( SDL_Surface *  screen  )  [virtual]

renders the image to the specified screen

Parameters:
screen the screen to which the object is drawn

Reimplemented from Object.


Member Data Documentation

SDL_Color Rectangle::m_col [private]


The documentation for this class was generated from the following files:
Generated on Wed Feb 21 21:50:47 2007 for Minup by  doxygen 1.5.1-p1