Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
ADrawableBehavior.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "IBehavior.hpp"
6#include "core/DrawTypes.hpp"
7
13 public:
14 const std::vector<Particle>& getParticles() const { return _particles; }
15 const std::vector<LineSegment>& getLines() const { return _lines; }
16
17 protected:
18 mutable std::vector<Particle> _particles;
19 mutable std::vector<LineSegment> _lines;
20};
Base class for behaviors that produce visual drawables: sphere particles and line segments....
std::vector< Particle > _particles
const std::vector< Particle > & getParticles() const
std::vector< LineSegment > _lines
const std::vector< LineSegment > & getLines() const
Interface for entity visual behaviors (movement, rotation, animations, etc.). Behaviors are ticked ev...
Definition IBehavior.hpp:7