#include <CraftingRecipes.h>
|
| cCraftingGrid (const cCraftingGrid &a_Original) |
|
| cCraftingGrid (const cItem *a_Items, int a_Width, int a_Height) |
|
| cCraftingGrid (int a_Width, int a_Height) |
|
void | Clear (void) |
|
void | ConsumeGrid (const cCraftingGrid &a_Grid) |
| Removes items in a_Grid from m_Items[] (used by cCraftingRecipe::ConsumeIngredients()) More...
|
|
void | CopyToItems (cItem *a_Items) const |
| Copies internal contents into the item array specified. More...
|
|
void | Dump (void) |
| Dumps the entire crafting grid using LOGD() More...
|
|
int | GetHeight (void) const |
|
cItem & | GetItem (int x, int y) const |
|
cItem * | GetItems (void) const |
|
int | GetWidth (void) const |
|
void | SetItem (int x, int y, const cItem &a_Item) |
|
void | SetItem (int x, int y, ENUM_ITEM_TYPE a_ItemType, char a_ItemCount, short a_ItemHealth) |
|
| ~cCraftingGrid () |
|
Definition at line 20 of file CraftingRecipes.h.
◆ cCraftingGrid() [1/3]
◆ cCraftingGrid() [2/3]
cCraftingGrid::cCraftingGrid |
( |
int |
a_Width, |
|
|
int |
a_Height |
|
) |
| |
◆ cCraftingGrid() [3/3]
cCraftingGrid::cCraftingGrid |
( |
const cItem * |
a_Items, |
|
|
int |
a_Width, |
|
|
int |
a_Height |
|
) |
| |
◆ ~cCraftingGrid()
cCraftingGrid::~cCraftingGrid |
( |
| ) |
|
◆ Clear()
void cCraftingGrid::Clear |
( |
void |
| ) |
|
◆ ConsumeGrid()
◆ CopyToItems()
void cCraftingGrid::CopyToItems |
( |
cItem * |
a_Items | ) |
const |
Copies internal contents into the item array specified.
Assumes that the array has the same dimensions as self
Definition at line 183 of file CraftingRecipes.cpp.
◆ Dump()
void cCraftingGrid::Dump |
( |
void |
| ) |
|
◆ GetHeight()
int cCraftingGrid::GetHeight |
( |
void |
| ) |
const |
|
inline |
◆ GetItem()
cItem & cCraftingGrid::GetItem |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
◆ GetItems()
cItem* cCraftingGrid::GetItems |
( |
void |
| ) |
const |
|
inline |
◆ GetWidth()
int cCraftingGrid::GetWidth |
( |
void |
| ) |
const |
|
inline |
◆ SetItem() [1/2]
void cCraftingGrid::SetItem |
( |
int |
x, |
|
|
int |
y, |
|
|
const cItem & |
a_Item |
|
) |
| |
◆ SetItem() [2/2]
void cCraftingGrid::SetItem |
( |
int |
x, |
|
|
int |
y, |
|
|
ENUM_ITEM_TYPE |
a_ItemType, |
|
|
char |
a_ItemCount, |
|
|
short |
a_ItemHealth |
|
) |
| |
◆ m_Height
int cCraftingGrid::m_Height |
|
protected |
◆ m_Items
cItem* cCraftingGrid::m_Items |
|
protected |
◆ m_Width
int cCraftingGrid::m_Width |
|
protected |
The documentation for this class was generated from the following files: