GameObject class
#include <GameObject.hpp>
Base classes
- class PhysicObject
Derived classes
Constructors, destructors, conversion operators
- GameObject()
- ~GameObject() defaulted virtual
Public functions
- void update() override
- void updateAnimation() virtual
- void draw() const override
- void loadAnimation() virtual
Protected types
Protected variables
- bool is_flip_
- Direction direction_
- std::unordered_map<int, std::unique_ptr<Animation>> animations_
- int current_animation_