Page MenuHomePhabricator (Chris)

FallingRockEntity.h
No OneTemporary

Authored By
Unknown
Size
614 B
Referenced Files
None
Subscribers
None

FallingRockEntity.h

#ifndef FALLINGROCKENTITY_H
#define FALLINGROCKENTITY_H
#include "EnemyEntity.h"
class FallingRockEntity : public EnemyEntity
{
public:
FallingRockEntity(float x, float y, int rockType, bool hurtAll);
virtual void animate(float delay);
virtual void calculateBB();
virtual void render(sf::RenderTarget* app);
virtual bool canCollide();
protected:
virtual void dying();
virtual void collideWithEnemy(EnemyEntity* entity) override;
private:
int rockType;
int h;
bool jumping;
float hVelocity;
bool hurtAll;
bool hasHurted;
};
#endif // FALLINGROCKENTITY_H

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 8:45 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
120884
Default Alt Text
FallingRockEntity.h (614 B)

Event Timeline