Bowls
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
CollisionEntity.h
Go to the documentation of this file.
1 #pragma once
2 #ifndef COLLISION_ENTITY_H
3 #define COLLISION_ENTITY_H
4 
5 #include <cgg/cgg.h>
6 #include "Entity.h"
7 
16 class CollisionEntity : public Entity
17 {
18 public:
19 
27  CollisionEntity(cgg::Mat43);
28 
37  CollisionEntity(cgg::Mat43, cgg::Vec3);
38 
46  CollisionEntity(cgg::Vec3);
47 
56  CollisionEntity(cgg::Vec3, cgg::Vec3);
57 
65  void updateXVelocity(float);
66 
74  void updateYVelocity(float);
75 
83  void updateZVelocity(float);
84 
92  float getXVelocity();
93 
101  float getYVelocity();
102 
110  float getZVelocity();
111 
112 private:
114  cgg::Vec3 velocities;
115 };
116 
117 #endif
float getZVelocity()
Class that represents an Entity with Collision.
void updateZVelocity(float)
CollisionEntity(cgg::Mat43)
float getXVelocity()
Class that represents an Entity.
Definition: Entity.h:14
void updateXVelocity(float)
cgg::Vec3 velocities
cgg::Vec3 containing the velocities of the Entity.
float getYVelocity()
void updateYVelocity(float)