Choose your implementation method:
C++
Oftentimes in video games, players are kept engaged by attaining new items or weapons for their character, and sometimes new enemies may even appear for them to defeat.
In your game, you may wish to dynamically add items or enemies to your Level during gameplay, this is called spawning.
In this How-To guide, you will create an Actor class that will be spawned from an Actor spawner at the press of a button. Then, you will create the logic to destroy the spawned Actors at the press of a different button.