Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F625577
ObstacleEntity.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
560 B
Referenced Files
None
Subscribers
None
ObstacleEntity.h
View Options
#ifndef OBSTACLEENTITY_H
#define OBSTACLEENTITY_H
#include
"EnemyEntity.h"
class
ObstacleEntity
:
public
EnemyEntity
{
public
:
ObstacleEntity
(
float
x
,
float
y
,
int
objectFrame
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
virtual
void
readCollidingEntity
(
CollidingSpriteEntity
*
entity
);
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
void
dying
();
protected
:
virtual
void
drop
();
private
:
int
xGrid
;
int
yGrid
;
int
initialFrame
;
void
correctFrame
();
};
#endif
// OBSTACLEENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 11:38 PM (13 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
139906
Default Alt Text
ObstacleEntity.h (560 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline