File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ bool GameScene::Start()
6565 main_cur = App->ui ->CreateCursor (sections, 0.08 );
6666
6767
68+
6869 return true ;
6970}
7071
Original file line number Diff line number Diff line change @@ -129,9 +129,11 @@ iPoint Unit::GetDirection()const
129129 iPoint ret (round (direction.x ), round (direction.y ));
130130
131131 return ret;
132+
132133}
133134
134135UNIT_TYPE Unit::GetType ()const
135136{
136137 return type;
138+
137139}
Original file line number Diff line number Diff line change @@ -42,8 +42,10 @@ class Unit : public Entity
4242 void SetPath (vector<iPoint> _path);
4343
4444 iPoint GetDirection ()const ; // Returns the direction in form of a vector. Ex: (1,1) -north-east (-1) south etc
45+
4546 UNIT_TYPE GetType ()const ;
4647
48+
4749private:
4850
4951 void Move (float dt);
You can’t perform that action at this time.
0 commit comments