Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626976
ZombieEntity.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
716 B
Referenced Files
None
Subscribers
None
ZombieEntity.h
View Options
#ifndef ZOMBIEENTITY_H
#define ZOMBIEENTITY_H
#include
"EnemyEntity.h"
class
ZombieEntity
:
public
EnemyEntity
{
public
:
ZombieEntity
(
float
x
,
float
y
,
bool
invocated
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
virtual
bool
isAttacking
();
protected
:
virtual
void
collideMapRight
();
virtual
void
collideMapLeft
();
virtual
void
collideMapTop
();
virtual
void
collideMapBottom
();
virtual
void
collideWithEnemy
(
EnemyEntity
*
entity
)
override
;
virtual
void
drop
();
private
:
bool
invocated
;
int
direction
;
bool
clockTurn
;
float
timer
;
float
attackTimer
;
void
compute
(
bool
turn
);
bool
attack
();
};
#endif
// ZOMBIEENTITY_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 1:25 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135512
Default Alt Text
ZombieEntity.h (716 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline