Object class
#include <Object.hpp>

Derived classes

class PhysicObject
class UiObject

Constructors, destructors, conversion operators

Object()
~Object() defaulted virtual

Public functions

void load(std::unique_ptr<LoaderParams> const& params) virtual
void update() pure virtual
void draw() const pure virtual
auto getWidth() const -> int virtual
auto getHeight() const -> int virtual
auto getPosition() const -> b2Vec2 virtual
auto getX() const -> float virtual
auto getY() const -> float virtual
auto isExist() const -> bool virtual
void disappear() virtual

Protected variables

bool is_exist_
b2Vec2 position_
int width_
int height_