FlatRedBall.Scene.AddToManagers

Introduction

The AddToManagers method adds all contained elements in the calling Scene to their appropriate managers. Since a Scene can contain Sprites, Text objects, and PositionedModels, this method can add objects to more than one manager.

This method is most often called after a Scene is loaded through FlatRedBallServices.

Method Signatures

public void AddToManagers()

Adds the contained elements to their respective managers so they draw in the regular non-layered space.

public void AddToManagers(Layer layer)

Adds the contained elements to their respective managers for management and to the argument Layer for drawing.