public EnemyShip AddBadGuy1(BadGuy1 badGuy, Vector2 StartingPos, Vector2 target1, Vector2 target2) { return(new EnemyShip() { enemy = badGuy, position = StartingPos, target1 = target1, target2 = target2 }); }
public EnemyShip AddBadGuy1(BadGuy1 badGuy, Vector2 StartingPos, float targetY) { var target1 = new Vector2(StartingPos.x, targetY); var target2 = new Vector2(StartingPos.x - 0.5f, targetY); return(new EnemyShip() { enemy = badGuy, position = StartingPos, target1 = target1, target2 = target2 }); }