Pacman Torben Petré
Loading...
Searching...
No Matches
FruitView.h
Go to the documentation of this file.
1#ifndef FRUITVIEW_H
2#define FRUITVIEW_H
3
5#include "EntityView.h"
6
7
8class FruitView final : public EntityView {
9public:
14 explicit FruitView(const std::shared_ptr<logic::FruitModel> &model);
15
16private:
22 void update(logic::Events event) override;
23};
24
25
26
27#endif //FRUITVIEW_H
std::shared_ptr< logic::EntityModel > model
Definition EntityView.h:46
EntityView(const std::shared_ptr< logic::EntityModel > &model, float frameDuration)
Definition EntityView.cpp:6
FruitView(const std::shared_ptr< logic::FruitModel > &model)
FruitView renders fruit.
Definition FruitView.cpp:7
Events
Definition Observer.h:14