public Spawn ( Vector2 position, float rotation ) : void | ||
position | Vector2 | |
rotation | float | |
return | void |
public override void Spawn(Vector2 position, float rotation)
{
// reset camera
World.Camera.Zoom = 1;
World.Camera.PanPosition = Vector2.Zero;
base.Spawn(position, rotation);
}