Page MenuHomePhabricator (Chris)

ChestEntity.h
No OneTemporary

Authored By
Unknown
Size
510 B
Referenced Files
None
Subscribers
None

ChestEntity.h

#ifndef CHESTENTITY_H
#define CHESTENTITY_H
#include "sfml_game/CollidingSpriteEntity.h"
class ChestEntity : public CollidingSpriteEntity
{
public:
ChestEntity(float x, float y, int chestType, bool isOpen);
virtual void animate(float delay);
virtual void calculateBB();
void open();
bool getOpened();
int getChestType();
protected:
virtual void readCollidingEntity(CollidingSpriteEntity* entity);
private:
bool isOpen;
int chestType;
};
#endif // CHESTENTITY_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:03 AM (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
139636
Default Alt Text
ChestEntity.h (510 B)

Event Timeline