#include <item.h>
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 |
Definition at line 2 of file item.h.
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().
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().
stringc item::texture [private] |
Definition at line 18 of file item.h.
Referenced by getTexture(), init(), and repr().