Destroyer - HermesPasser/Ramu GitHub Wiki
class Destroyer : GameObj
Description
Destroy a GameObj after a period of time.
Constructor Parameters
floattime: Time to destroy the gameObj.GameObjgameObj: gameObj to be destroyed.
new Destroyer (3, new Text("I will be destroyed", 20, 20, 100));
You can also test this snipped of code here