Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F625251
GhostEntity.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
662 B
Referenced Files
None
Subscribers
None
GhostEntity.h
View Options
#ifndef GHOSTENTITY_H
#define GHOSTENTITY_H
#include
"EnemyEntity.h"
class
GhostEntity
:
public
EnemyEntity
{
public
:
GhostEntity
(
float
x
,
float
y
);
virtual
void
animate
(
float
delay
);
virtual
void
render
(
sf
::
RenderTarget
*
app
);
virtual
void
calculateBB
();
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
virtual
void
collideWithBolt
(
BoltEntity
*
boltEntity
);
virtual
void
drop
();
private
:
float
timer
;
int
getGhostFade
();
};
#endif
// GHOSTENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 11:15 PM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120440
Default Alt Text
GhostEntity.h (662 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline