Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627504
BlackRatEntity.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
633 B
Referenced Files
None
Subscribers
None
BlackRatEntity.h
View Options
#ifndef BLACKRATSPRITE_H
#define BLACKRATSPRITE_H
#include
"EnnemyEntity.h"
class
BlackRatEntity
:
public
EnnemyEntity
{
public
:
BlackRatEntity
(
float
x
,
float
y
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
void
collideWithEnnemy
(
GameEntity
*
collidingEntity
);
virtual
void
dying
();
private
:
void
findNextGoal
();
int
currentDirection
;
IntCoord
currentTile
;
IntCoord
targetTile
;
};
#endif
// BLACKRATSPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 2:12 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137453
Default Alt Text
BlackRatEntity.h (633 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline