Skip to content

Commit

Permalink
Merge branch 'Team-1--Projectiles' into Projectile-Animation
Browse files Browse the repository at this point in the history
  • Loading branch information
cindyle1 committed Sep 9, 2023
2 parents c862e83 + 7ae8749 commit b4f980a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public void create() {

// Types of projectile
spawnEffectProjectile(new Vector2(0, 10), PhysicsLayer.HUMANS, towardsMobs, new Vector2(2f, 2f), ProjectileEffects.BURN, true);
spawnMobBall(new Vector2(0, 8), PhysicsLayer.NPC, towardsMobs, new Vector2(2f, 2f));
// spawnProjectileTest(new Vector2(0, 8), PhysicsLayer.NPC, towardsMobs, new Vector2(2f, 2f));

spawnXenoGrunts();

Expand Down Expand Up @@ -307,7 +307,7 @@ private void spawnProjectile(Vector2 position, short targetLayer, int direction,
* @param speed The speed of the projectiles.
*
*/
private void spawnMobBall(Vector2 position, short targetLayer, int direction, Vector2 speed) {
private void spawnProjectileTest(Vector2 position, short targetLayer, int direction, Vector2 speed) {
Entity Projectile = ProjectileFactory.createEngineerBullet(targetLayer, new Vector2(direction, position.y), speed);
Projectile.setPosition(position);
spawnEntity(Projectile);
Expand Down

0 comments on commit b4f980a

Please sign in to comment.