Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F623569
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
738 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
();
virtual
int
hurt
(
StructHurt
hurtParam
);
int
getObjectIndex
();
protected
:
virtual
void
drop
();
private
:
int
xGrid
;
int
yGrid
;
int
initialFrame
;
int
objectIndex
;
int
initialObjectIndex
;
void
correctFrame
();
bool
explosive
;
enumBloodColor
obstacleBloodType
;
};
#endif
// OBSTACLEENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 9:23 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
119131
Default Alt Text
ObstacleEntity.h (738 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline