Property | Type | Description | |
---|---|---|---|
mAxisAlignedRectangles | PositionedObjectList |
||
mCamera | |||
mCircles | PositionedObjectList |
||
mDrawableBatches | List |
||
mLastLoadedScene | Scene | ||
mLayer | Layer | ||
mLayers | List |
||
mLines | PositionedObjectList |
||
mPolygons | PositionedObjectList |
||
mPopups | List |
||
mPositionedModels | PositionedModelList | ||
mSpriteFrames | PositionedObjectList |
||
mSpriteGrids | List |
||
mSprites | SpriteList | ||
mTexts | PositionedObjectList |
||
mTurnOffFixedFrameRateDuringLoading | bool |
Method | Description | |
---|---|---|
Activity ( bool firstTimeCalled ) : void |
Manages contained SpriteFrames or SpriteGrids.
|
|
Destroy ( ) : void |
Method called by the ScreenManager which unloads all textures, Remove Sprites, destroys the GUI, Text objects, SpriteGrids, and SpriteFrames.
|
|
LoadPolygonList ( string name, bool addToShapeManager, bool makeVisible ) : PositionedObjectList |
||
LoadPopup ( string popupToLoad, Layer layerToLoadPopupOn ) : |
||
LoadPopup ( string popupToLoad, bool useNewLayer ) : |
||
LoadScene ( string fileName, Layer layer ) : Scene | ||
MoveToScreen ( string screenClass ) : void |
Tells the screen that we are done and wish to move to the supplied screen
|
|
Screen ( string scnFileName, string contentManagerName ) : System |
Loads a screen, initializes internal fields, and stores the textures which belong to the screen. When a screen is unloaded, it unloads all textures that it introduced to the TextureManager. It does not unload textures which were already cached in the TextureManager before the screen was loaded. This method gets all textures that are cached after the LoadScn method, then removes all textures that existed before the scene was loaded. Therefore, any texture that is used in the screen should exist in the .scn. This keeps the programmer from having to manually track textures and remove them when a screen unloads. The exception is objects which dynamically select their texture according to conditions and user inputs. These textures should be assigned to the screen with the AssignTextureToScreen method. |
|
Shift ( float x, float y, float z ) : void |
public Activity ( bool firstTimeCalled ) : void | ||
firstTimeCalled | bool | |
return | void |
public LoadPolygonList ( string name, bool addToShapeManager, bool makeVisible ) : PositionedObjectList |
||
name | string | |
addToShapeManager | bool | |
makeVisible | bool | |
return | PositionedObjectList |
public LoadPopup ( string popupToLoad, Layer layerToLoadPopupOn ) : |
||
popupToLoad | string | |
layerToLoadPopupOn | Layer | |
return |
public LoadPopup ( string popupToLoad, bool useNewLayer ) : |
||
popupToLoad | string | |
useNewLayer | bool | |
return |
public LoadScene ( string fileName, Layer layer ) : Scene | ||
fileName | string | |
layer | Layer | |
return | Scene |
public MoveToScreen ( string screenClass ) : void | ||
screenClass | string | |
return | void |
public Screen ( string scnFileName, string contentManagerName ) : System | ||
scnFileName | string | The .scn file name relative to the .exe. |
contentManagerName | string | |
return | System |
public Shift ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
protected PositionedObjectList |
||
return | PositionedObjectList |
protected PositionedModelList mPositionedModels | ||
return | PositionedModelList |
protected PositionedObjectList |
||
return | PositionedObjectList |