Have the SceneManager provide a bullet pool to regulate how many bullets are in play at one time.
The bullet factory should receive the position the bullet should be placed at, and the speed the bullet should move.
'func makeBullet(position, speed):`
The bullet should be requested by the Character, who supplies the position of the bullet spawn point, and the speed based on whether they are turned left or right.
Have the SceneManager provide a bullet pool to regulate how many bullets are in play at one time.
The bullet factory should receive the position the bullet should be placed at, and the speed the bullet should move.
'func makeBullet(position, speed):`
The bullet should be requested by the Character, who supplies the position of the bullet spawn point, and the speed based on whether they are turned left or right.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Have the SceneManager provide a bullet pool to regulate how many bullets are in play at one time.
The bullet factory should receive the position the bullet should be placed at, and the speed the bullet should move.
'func makeBullet(position, speed):`
The bullet should be requested by the Character, who supplies the position of the bullet spawn point, and the speed based on whether they are turned left or right.