You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3coop/apps/openmw-mp/BaseMgr.hpp

25 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;
};