summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorDayLightBurner.h
blob: d967b5f6807c7e5f829c33b8d18d30cf62cbb28a (plain) (tree)
1
2
3
4
5
6
7
8
9

            


                               



               


                             
       

                                                 

                                                            


                                                
 


                                                                
  
#pragma once

// mobTodo I just need vector3d
#include "../../World.h"

// fwds
class cMonster;
class cEntity;
class cChunk;

class cBehaviorDayLightBurner
{
public:
    cBehaviorDayLightBurner(cMonster * a_Parent);

    void Tick(cChunk & a_Chunk, bool WouldBurn);
    bool WouldBurnAt(Vector3d a_Location, cChunk & a_Chunk);

    // Functions our host Monster should invoke:
    void Tick();

private:
    cMonster * m_Parent;  // Our Parent
    cEntity * m_Attacker;  // The entity we're running away from
};