FGEntityList Class Reference

#include <fgentitylist.h>

Collaboration diagram for FGEntityList:
[legend]

List of all members.

Public Member Functions

 FGEntityList ()
 ~FGEntityList ()
void set_bgentity (BGEntity *bge)
void set_background_draw (BGDraw &bgd)
void set_screen (Screen &s)
void add_fgentity (FGEntity *l)
void add_node (node *new_node)
void remove_node (node *bye_node)
void check_collisions ()
void test (int dir)
void set_player (Player &p)
void set_paul_info (paul_info *p)
int check_bg_collisions (int dir, SDL_Rect char_box)
int check_fg_walkable (int dir, int prx, int pry)

Private Attributes

BGEntitybgentity
BGDraw bgdraw
nodefirst
int node_count
int index
Player player
Screen screen
paul_infopinfo

Classes

struct  node


Detailed Description

Definition at line 50 of file fgentitylist.h.


Constructor & Destructor Documentation

FGEntityList::FGEntityList (  ) 

Definition at line 31 of file fgentitylist.cpp.

References first, index, and node_count.

FGEntityList::~FGEntityList (  ) 

Definition at line 37 of file fgentitylist.cpp.


Member Function Documentation

void FGEntityList::set_bgentity ( BGEntity bge  ) 

Definition at line 78 of file fgentitylist.cpp.

References bgentity.

Referenced by main().

void FGEntityList::set_background_draw ( BGDraw bgd  ) 

Definition at line 82 of file fgentitylist.cpp.

References bgdraw.

Referenced by main().

void FGEntityList::set_screen ( Screen s  ) 

Definition at line 86 of file fgentitylist.cpp.

References screen.

Referenced by main().

void FGEntityList::add_fgentity ( FGEntity l  ) 

void FGEntityList::add_node ( node new_node  ) 

Definition at line 52 of file fgentitylist.cpp.

References first, and FGEntityList::node::next.

Referenced by add_fgentity().

void FGEntityList::remove_node ( node bye_node  ) 

void FGEntityList::check_collisions (  ) 

void FGEntityList::test ( int  dir  ) 

void FGEntityList::set_player ( Player p  ) 

Definition at line 215 of file fgentitylist.cpp.

References player.

Referenced by main().

void FGEntityList::set_paul_info ( paul_info p  ) 

Definition at line 219 of file fgentitylist.cpp.

References pinfo.

Referenced by main().

int FGEntityList::check_bg_collisions ( int  dir,
SDL_Rect  char_box 
)

int FGEntityList::check_fg_walkable ( int  dir,
int  prx,
int  pry 
)


Member Data Documentation

Definition at line 52 of file fgentitylist.h.

Referenced by check_bg_collisions(), and set_bgentity().

Definition at line 53 of file fgentitylist.h.

Referenced by set_background_draw(), and test().

int FGEntityList::node_count [private]

Definition at line 61 of file fgentitylist.h.

Referenced by add_fgentity(), check_fg_walkable(), FGEntityList(), remove_node(), and test().

int FGEntityList::index [private]

Definition at line 62 of file fgentitylist.h.

Referenced by add_fgentity(), and FGEntityList().

Definition at line 63 of file fgentitylist.h.

Referenced by set_player(), and test().

Definition at line 64 of file fgentitylist.h.

Referenced by set_screen(), and test().

Definition at line 65 of file fgentitylist.h.

Referenced by check_bg_collisions(), check_fg_walkable(), set_paul_info(), and test().


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