Add second enemy unit
This commit is contained in:
parent
d4dbb83497
commit
e5947d5936
1 changed files with 8 additions and 0 deletions
|
@ -76,6 +76,14 @@ public class GameScreen implements Screen {
|
|||
|
||||
units.add(enemy);
|
||||
|
||||
Unit enemy2 = new Unit();
|
||||
enemy2.positionX = 15;
|
||||
enemy2.positionY = 15;
|
||||
enemy2.team = Unit.Team.Enemy;
|
||||
|
||||
units.add(enemy2);
|
||||
|
||||
|
||||
playerTexture = new Texture(Gdx.files.internal("player.png"));
|
||||
playerSprite = new Sprite(playerTexture);
|
||||
|
||||
|
|
Reference in a new issue