Pig class
#include <Pig.hpp>
Base classes
- class GameObject
- class VisionObject
- class DamageableObject
- class AttackerObject
Derived classes
- class KingPig final
- class PigWithBomb final
- class PigWithBox final
Constructors, destructors, conversion operators
- Pig()
Public functions
- void load(std::unique_ptr<LoaderParams> const& params) override
- void loadAnimation() override
- void update() override
- void updateAnimation() override
- void draw() const override
Private functions
- void drawHealthBar() const virtual
- void handleSound() virtual
- void handleMovement() virtual
- void changeDirection() virtual
- void seeingBox() virtual
- void seeingPig() virtual
- void seeingPlayer() virtual
- void seeingWall() virtual