Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F622444
EvilFlowerEntity.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
660 B
Referenced Files
None
Subscribers
None
EvilFlowerEntity.h
View Options
#ifndef EVILFLOWER_H
#define EVILFLOWER_H
#include
"EnemyEntity.h"
#include
"PlayerEntity.h"
enum
flowerTypeEnum
{
FlowerTypeStandard
,
FlowerTypeIce
,
FlowerTypeFire
,
FlowerTypePet
};
class
EvilFlowerEntity
:
public
EnemyEntity
{
public
:
EvilFlowerEntity
(
float
x
,
float
y
,
flowerTypeEnum
flowerType
);
virtual
void
animate
(
float
delay
);
virtual
void
calculateBB
();
virtual
void
render
(
sf
::
RenderTarget
*
app
);
void
fire
();
virtual
bool
canCollide
();
void
setFireDelayMax
(
float
fireDelayMax
);
private
:
float
fireDelay
;
float
fireDelayMax
;
flowerTypeEnum
flowerType
;
float
ageFromGen
;
};
#endif
// EVILFLOWER_H
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sat, Nov 14, 8:11 PM (23 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
118439
Default Alt Text
EvilFlowerEntity.h (660 B)
Attached To
Mode
R78 witchblast
Attached
Detach File
Event Timeline