|
| | LootObject (int id, std::string instanceId, std::string name, Coordinates coords, unsigned int rotation, std::vector< YieldableItem > yieldableItemList, reader::ObjectType type) |
| |
| | LootObject (const LootObjectStruct &object, const ObjectLocation &location, reader::ObjectType objectType) |
| |
| bool | canInteract (Entity &entity) |
| | Check if the entity can interact with the object. More...
|
| |
| void | interact (Entity &entity) |
| | Interact with the object. More...
|
| |
| | Object (int id, std::string instanceId, std::string name, Coordinates coordinates, unsigned int rotation, reader::ObjectType objectType) |
| |
| | Object (const GeneralObjectStruct &object, const ObjectLocation &location, reader::ObjectType objectType) |
| |
| virtual | ~Object ()=default |
| |
| const int & | getId () |
| | Get the id of the object. More...
|
| |
| const std::string & | getInstanceId () |
| | Get the instance id of the object. More...
|
| |
| const std::string & | getName () |
| | Get the name of the object. More...
|
| |
| const Coordinates & | getLocation () |
| | Get the location of the object. More...
|
| |
| const unsigned int & | getRotation () |
| | Get the rotation of the object. More...
|
| |
| const reader::ObjectType & | getObjectType () |
| | Get the ObjectType of object. More...
|
| |
Represents an object that can be looted.