forked from teamnwah/openmw-tes3coop
Conflicts: apps/openmw-mp/Script/Functions/Cells.cpp apps/openmw-mp/Script/Functions/Cells.hpp apps/openmw-mp/Script/Functions/Worldstate.cpp apps/openmw-mp/Script/Functions/Worldstate.hpp apps/openmw-mp/Script/ScriptFunctions.hpp apps/openmw-mp/processors/player/ProcessorPlayerMap.hpp apps/openmw/mwmp/processors/player/ProcessorPlayerMap.hpp components/openmw-mp/Base/BasePlayer.hpp components/openmw-mp/Packets/Player/PacketPlayerMap.hpp components/openmw-mp/Packets/Worldstate/PacketWorldMap.cpp
24 lines
414 B
C++
24 lines
414 B
C++
//
|
|
// Created by koncord on 02.01.18.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
class Player;
|
|
class Worldstate;
|
|
|
|
class BaseMgr
|
|
{
|
|
public:
|
|
explicit BaseMgr(Player *player);
|
|
explicit BaseMgr(Worldstate *worldstate);
|
|
void update();
|
|
protected:
|
|
bool isChanged() const { return changed; };
|
|
void setChanged();
|
|
virtual void processUpdate() = 0;
|
|
Player *player;
|
|
Worldstate *worldstate;
|
|
private:
|
|
bool changed;
|
|
};
|