Destroyer - HermesPasser/Ramu GitHub Wiki

class Destroyer : GameObj

Description

Destroy a GameObj after a period of time.

Constructor Parameters

  • float time: Time to destroy the gameObj.
  • GameObj gameObj: 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

Properties

Inherited Members