My Project
 
Loading...
Searching...
No Matches
torchhalo.h
Go to the documentation of this file.
1#pragma once
2
3#include "halo.h"
4
5class CharSprite;
6
7class TorchHalo :public Halo{
8private:
9 CharSprite* target;
10
11 float phase = 0;
12
13public:
14 TorchHalo(CharSprite* sprite);
15
16 virtual void update();
17 virtual void draw();
18 void putOut() { phase = -1; }
19};
Definition charsprite.h:13
Halo()
Definition halo.cpp:8
TorchHalo(CharSprite *sprite)
Definition torchhalo.cpp:6
void putOut()
Definition torchhalo.h:18
virtual void update()
Definition torchhalo.cpp:13
virtual void draw()
Definition torchhalo.cpp:44