- @override
Called when the actor is instantiated in the world
Source
@override initialize(World world) { super.initialize(world); this.name = "Lamp" + world.genUID(); this.scale = new Vector2(72.0, 93.0); this.rotation = new Vector2(0.0, 1.0); }
Called when the actor is instantiated in the world
@override initialize(World world) { super.initialize(world); this.name = "Lamp" + world.genUID(); this.scale = new Vector2(72.0, 93.0); this.rotation = new Vector2(0.0, 1.0); }