the whole game
This commit is contained in:
27
src/world/entity/Painting.h
Executable file
27
src/world/entity/Painting.h
Executable file
@@ -0,0 +1,27 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_ENTITY__Painting_H__
|
||||
#define NET_MINECRAFT_WORLD_ENTITY__Painting_H__
|
||||
#include "Motive.h"
|
||||
#include "HangingEntity.h"
|
||||
class Painting : public HangingEntity {
|
||||
typedef HangingEntity super;
|
||||
public:
|
||||
Painting(Level* level);
|
||||
Painting(Level* level, int xTile, int yTile, int zTile, int dir);
|
||||
Painting(Level* level, int x, int y, int z, int dir, const std::string& motiveName);
|
||||
|
||||
void setRandomMotive( int dir );
|
||||
|
||||
void addAdditonalSaveData(CompoundTag* tag);
|
||||
void readAdditionalSaveData(CompoundTag* tag);
|
||||
|
||||
int getWidth();
|
||||
int getHeight();
|
||||
|
||||
void dropItem();
|
||||
int getEntityTypeId() const;
|
||||
bool isPickable();
|
||||
public:
|
||||
const Motive* motive;
|
||||
};
|
||||
|
||||
#endif /* NET_MINECRAFT_WORLD_ENTITY__Painting_H__ */
|
||||
Reference in New Issue
Block a user