Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626708
ChestEntity.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
558 B
Referenced Files
None
Subscribers
None
ChestEntity.h
View Options
#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
render
(
sf
::
RenderTarget
*
app
);
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
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 1:04 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
138847
Default Alt Text
ChestEntity.h (558 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline