public void CreateMagicFireball(Vector2 startingPosition, Vector2 direction) { ProjectileHandler projectileHandler = ProjectileHandler.Instance; projectileHandler.CreateSwordWeapon(batch, startingPosition, direction, InventoryUtilities.convertSwordToInt(InventoryManager.ItemType.MagicalRod)); projectileHandler.CreateMagicFireball(batch, startingPosition, direction); }
public void CreateWeapon(Vector2 startingPosition, Vector2 direction) { ProjectileHandler projectileHandler = ProjectileHandler.Instance; projectileHandler.CreateSwordWeapon(batch, startingPosition, direction, InventoryUtilities.convertSwordToInt(InventoryManager.Instance.SwordSlot)); }