item Class Reference

#include <item.h>

List of all members.

Public Member Functions

 item ()
 ~item ()
int init (int, stringc, int=-1, int=-1)
int getId ()
stringc getTexture ()
int getCombi ()
int getCombiResult ()
stringc repr ()

Private Attributes

int id
stringc texture
int combi
int combiResult

Detailed Description

Definition at line 2 of file item.h.


Constructor & Destructor Documentation

item::item (  ) 

Definition at line 3 of file item.cpp.

item::~item (  ) 

Definition at line 8 of file item.cpp.


Member Function Documentation

int item::getCombi (  ) 

Definition at line 32 of file item.cpp.

References combi.

Referenced by BOOST_PYTHON_MODULE(), and interface::OnEvent().

int item::getCombiResult (  ) 

Definition at line 37 of file item.cpp.

References combiResult.

Referenced by BOOST_PYTHON_MODULE(), and interface::OnEvent().

int item::getId (  ) 

Definition at line 22 of file item.cpp.

References id.

Referenced by interface::addItemInventaire(), BOOST_PYTHON_MODULE(), interface::OnEvent(), and interface::update().

stringc item::getTexture (  ) 

Definition at line 27 of file item.cpp.

References texture.

Referenced by inventaire::addItem(), BOOST_PYTHON_MODULE(), and interface::update().

int item::init ( int  i,
stringc  tex,
int  c = -1,
int  cr = -1 
)

Definition at line 13 of file item.cpp.

References combi, combiResult, and texture.

Referenced by chap::addItem(), and BOOST_PYTHON_MODULE().

stringc item::repr (  ) 

Definition at line 43 of file item.cpp.

References combi, combiResult, and texture.

Referenced by BOOST_PYTHON_MODULE().


Member Data Documentation

int item::combi [private]

Definition at line 19 of file item.h.

Referenced by getCombi(), init(), and repr().

int item::combiResult [private]

Definition at line 20 of file item.h.

Referenced by getCombiResult(), init(), and repr().

int item::id [private]

Definition at line 17 of file item.h.

Referenced by getId().

stringc item::texture [private]

Definition at line 18 of file item.h.

Referenced by getTexture(), init(), and repr().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends

Generated on Wed Sep 9 18:20:16 2009 for The Merry Turnip by  doxygen 1.6.1