Game Programming I – Assingment day 18
|
Bullets now have a life of 100 frames. After that they get removed from the bullet vector. Also added a limit on how many bullet objects can exist at the same time. Also made a second vector for the Collision Manager that stores the id of the collider. Needed to add a string option for Entity class which is the name of the object. |