Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626258
GreenRatEntity.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
602 B
Referenced Files
None
Subscribers
None
GreenRatEntity.h
View Options
#ifndef GREENRATSPRITE_H
#define GREENRATSPRITE_H
#include
"EnemyEntity.h"
#include
"PlayerEntity.h"
class
GreenRatEntity
:
public
EnemyEntity
{
public
:
GreenRatEntity
(
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
bool
canCollide
();
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
virtual
void
drop
();
private
:
float
timer
;
};
#endif
// GREENRATSPRITE_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:30 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120796
Default Alt Text
GreenRatEntity.h (602 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline