Door class
#include <Door.hpp>

Base classes

class GameObject

Derived classes

class DoorEntry final
class DoorExit final

Constructors, destructors, conversion operators

Door()

Public functions

void load(std::unique_ptr<LoaderParams> const& params) override
void update() override
void loadAnimation() override
void open() virtual
void close() virtual
auto isOpened() const -> bool virtual
auto isClosed() const -> bool virtual

Protected types

enum AnimationID { DOOR_CLOSED, DOOR_OPENING, DOOR_CLOSING }

Protected variables

bool is_opened_