now draws a ball, fixed top of states bug
[physics.git] / src / entityCreator.cpp
1 #include "entityCreator.h"
2
3 #include "entityManager.h"
4 #include "Entities/Ball.h"
5 #include "graphics/colors.h"
6
7 /// ***** Private Method Headers *****
8 Ball* ball1;
9
10 /// ***** Private Variables *****
11
12 /// ***** Public Methods *****
13 void creator::init()
14 {
15     Vector2 pos(400, 400);
16     ball1 = new Ball(pos, 20, cBlue);
17
18     manager::add(ball1);
19 }
20 void creator::clean()
21 {
22     manager::remove(ball1);
23
24     delete ball1;
25 }
26
27 void creator::addBall()
28 {
29
30 }
31 void creator::removeBall()
32 {
33
34 }
35 void creator::removeAllBalls()
36 {
37
38 }