#include <blocks.h>
|
| | Map (int sub, int id) |
| |
| | Map (QDataStream &str, int sub, int id) |
| |
| QString | FullName () const override |
| |
| wearable | Wearable () const override |
| |
| usage_types | Use (Block *who) override |
| |
| usage_types | UseOnShredMove (Block *who) override |
| |
| bool | Inscribe (QString) override |
| | Returns true on success. More...
|
| |
| | Block (int sub, int kind, int transp=UNDEF) |
| |
| | Block (QDataStream &, int sub, int kind, int transp=UNDEF) |
| |
| virtual | ~Block () |
| |
| Block & | operator= (Block &)=delete |
| |
| | Block (Block &)=delete |
| |
| virtual bool | Catchable () const |
| |
| virtual void | Move (dirs direction) |
| |
| virtual void | Damage (int dmg, int dmg_kind) |
| |
| virtual push_reaction | PushResult (dirs) const |
| |
| virtual Block * | DropAfterDamage (bool *delete_self) |
| | Should return dropped block. More...
|
| |
| virtual Inventory * | HasInventory () |
| |
| virtual Animal * | IsAnimal () |
| |
| virtual Active * | ActiveBlock () |
| |
| virtual Falling * | ShouldFall () |
| |
| virtual int | DamageKind () const |
| |
| virtual int | DamageLevel () const |
| |
| virtual int | LightRadius () const |
| |
| virtual int | Weight () const |
| |
| virtual void | ReceiveSignal (QString) |
| | Receive text signal. More...
|
| |
| int | GetId () const |
| | Determines kind and sub, unique for every kind-sub pair. More...
|
| |
| void | Restore () |
| | Set maximum durability. More...
|
| |
| void | Break () |
| | Set durability to null. More...
|
| |
| void | Mend (int plus) |
| | Increase durability, no more than MAX_DURABILITY. More...
|
| |
| void | SetDir (int dir) |
| |
| dirs | GetDir () const |
| |
| int | GetDurability () const |
| |
| QString | GetNote () const |
| |
| int | Transparent () const |
| |
| int | Sub () const |
| |
| int | Kind () const |
| |
| bool | operator== (const Block &) const |
| |
| bool | operator!= (const Block &) const |
| |
| void | SaveToFile (QDataStream &out) |
| |
| void | SaveNormalToFile (QDataStream &out) const |
| |
| void | RestoreDurabilityAfterSave () |
| | Importart! Use it if block won't be deleted after SaveToFile. More...
|
| |
Definition at line 179 of file blocks.h.
| Map::Map |
( |
int |
sub, |
|
|
int |
id |
|
) |
| |
| Map::Map |
( |
QDataStream & |
str, |
|
|
int |
sub, |
|
|
int |
id |
|
) |
| |
| QString Map::FullName |
( |
| ) |
const |
|
overridevirtual |
| void Map::SaveAttributes |
( |
QDataStream & |
out | ) |
const |
|
overrideprotectedvirtual |
coordinates map titled in. also ~center.
Definition at line 194 of file blocks.h.
The documentation for this class was generated from the following files: