- @override
Called when the actor is instantiated in the world
Source
@override void initialize(World world) { super.initialize(world); name = "Spider" + world.genUID(); maxSpeed = 400.0; }
Called when the actor is instantiated in the world
@override void initialize(World world) { super.initialize(world); name = "Spider" + world.genUID(); maxSpeed = 400.0; }