|
WorldSim
inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
|
#include <Item.hpp>


Public Member Functions | |
| Item_Floor () | |
| virtual | ~Item_Floor () |
| Vector< std::string > * | getInteractNames (LocalTile *_w) |
| virtual void | interact (LocalTile *obj, int interactionType=0) |
| Texture * | currentTexture () |
Public Member Functions inherited from Item | |
| Item () | |
| virtual | ~Item () |
| virtual std::string | getName () |
| virtual std::string | getExtendedInfo () |
| virtual std::string | getQuality () |
| virtual bool | canUseInRecipe (Recipe *_recipe) |
| virtual void | interact (WorldObject *obj, int interactionType=0) |
| virtual void | interact (Item *obj, int interactionType=0) |
| virtual void | interact (Character *obj, int interactionType=0) |
| virtual void | interact (Creature *obj, int interactionType=0) |
| virtual int | interactTime (WorldObject *_w) |
| virtual int | interactTime (LocalTile *_w) |
| virtual Vector< std::string > * | getInteractNames (WorldObject *_w) |
| virtual Vector< std::string > * | getInteractNames (Item *_w) |
| virtual Vector< std::string > * | getInteractNames (Character *_w) |
| virtual Vector< std::string > * | getInteractNames (Creature *_w) |
| virtual Vector< std::string > * | getInteractNames (Static *_w) |
| bool | sameType (WorldObject _obj) |
| bool | sameType (Item *_item) |
| virtual std::string | getInteractName (WorldObject *_w) |
| virtual std::string | getInteractName (LocalTile *_w) |
| virtual void | addToRecipeManager () |
| virtual void | attachInformation (Item_Information *_information) |
| std::string | getColumn (std::string _column) |
| std::string | getColumnType (std::string _column) |
| std::string | getSaveData () |
| void | loadData (std::string) |
Public Member Functions inherited from WorldObject | |
| WorldObject () | |
| virtual | ~WorldObject () |
| virtual void | wander () |
| int | distanceTo (WorldObject *) |
| int | distanceFrom (WorldObject *) |
| int | distanceTo (int, int) |
| std::string | getBaseData () |
| std::string | getSaveData () |
| void | loadData (std::string) |
Public Member Functions inherited from Craftable | |
| Craftable () | |
| Item * | produce () |
Additional Inherited Members | |
Static Public Member Functions inherited from Item | |
| static StockpileRequirement | getStockpileRequirement () |
Public Attributes inherited from Item | |
| short int | count |
| ItemType | type |
| Item_Attributes | attributes |
| std::unordered_map< ItemAction, char > | mAction |
| short int | meleeDamage |
| short int | throwDamage |
| short int | reach |
| char | ammunitionType |
| Character * | owner |
| int | consumeTime |
| int | hungerRestore |
| Item_Information * | information |
| int | slashDamage |
| int | bluntDamage |
| int | pierceDamage |
| float | throwMultiplier |
| int | chopTreeCost |
| int | fishingCost |
Public Attributes inherited from WorldObject | |
| short int | x |
| short int | y |
| bool | isUnderground |
| long unsigned int | fullX |
| long unsigned int | fullY |
| int | worldX |
| int | worldY |
| bool | stackable |
| double | weight |
| double | bulk |
| bool | blocksView |
| bool | blocksMovement |
| bool | canCook |
| int | chopAmount |
| bool | canHarvest |
Public Attributes inherited from Craftable | |
| bool | requiresLocation |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Item.
|
virtual |
Reimplemented from Item.
|
virtual |
Reimplemented from Item.
1.8.13