Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

phys_obj Struct Reference

#include <fack.hpp>

Inheritance diagram for phys_obj:

obj_or_concept phys_obj_with_verbs List of all members.

Public Member Functions

 phys_obj (string readable_name, pt< can_appear_closed_in_inv > pick_up_info)
SDL_Surface * get_inv_surf () const
bool can_be_moved_across_containers () const

Public Attributes

pt< can_appear_closed_in_invpick_up_info

Detailed Description

Notice a phys_obj does not have a position, nor a fixed physical appearance. When it is in the inventory, its appearance is determined by pick_up_info; when it is in a location, its appearance is determined by the layers which are associated with the phys_obj.

Definition at line 592 of file fack.hpp.


Constructor & Destructor Documentation

phys_obj::phys_obj string  readable_name,
pt< can_appear_closed_in_inv pick_up_info
[inline]
 

Definition at line 596 of file fack.hpp.


Member Function Documentation

bool phys_obj::can_be_moved_across_containers  )  const [virtual]
 

Implements obj_or_concept.

Definition at line 5107 of file fack.cc.

References pick_up_info.

SDL_Surface* phys_obj::get_inv_surf  )  const [inline, virtual]
 

Implements obj_or_concept.

Definition at line 606 of file fack.hpp.

References pick_up_info.


Member Data Documentation

pt<can_appear_closed_in_inv> phys_obj::pick_up_info
 

Definition at line 594 of file fack.hpp.

Referenced by can_be_moved_across_containers(), and get_inv_surf().


The documentation for this struct was generated from the following files:
Generated on Wed May 25 15:36:11 2005 for FACK by  doxygen 1.4.0