Skip to content

Commit

Permalink
updated engineer count
Browse files Browse the repository at this point in the history
  • Loading branch information
nawal-0 committed Oct 16, 2023
1 parent c72ac34 commit b2a6ec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public boolean isTargetVisible() {
// If there is an obstacle in the path to the max range point, mobs visible.
Vector2 position = owner.getEntity().getCenterPosition();
hits.clear();
targets.clear();
for (int i = 5; i > -5; i--) {
if (physics.raycast(position, new Vector2(position.x + maxRange, position.y + i), TARGET, hit)) {
hits.add(hit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class GameEndService {
* Constructor for the Game End Service
*/
public GameEndService() {
this.remainingEngineerCount = 3;
this.remainingEngineerCount = 10;
this.display = new EngineerCountDisplay();
}

Expand Down

0 comments on commit b2a6ec7

Please sign in to comment.