Skip to content

Commit 1e0da96

Browse files
iorekiorek
authored andcommitted
Solved conflicts
2 parents 29efeb0 + 2aa63ab commit 1e0da96

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

Motor2D/GameScene.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

Motor2D/Unit.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

134135
UNIT_TYPE Unit::GetType()const
135136
{
136137
return type;
138+
137139
}

Motor2D/Unit.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
4749
private:
4850

4951
void Move(float dt);

0 commit comments

Comments
 (0)