Page MenuHomePhabricator (Chris)

EvilFlowerEntity.h
No OneTemporary

Authored By
Unknown
Size
660 B
Referenced Files
None
Subscribers
None

EvilFlowerEntity.h

#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

Mime Type
text/x-c++
Expires
Sat, Nov 14, 8:11 PM (23 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
118439
Default Alt Text
EvilFlowerEntity.h (660 B)

Event Timeline