Method | Description | |
---|---|---|
Activity ( bool firstTimeCalled ) : void | ||
AddAxisAlignedRectangle ( ) : AxisAlignedRectangle | ||
AddAxisAlignedRectangle ( float scaleX, float scaleY ) : AxisAlignedRectangle | ||
AddAxisAlignedRectangle ( float scaleX, float scaleY, int x, int y ) : AxisAlignedRectangle | ||
AddSprite ( string texture ) : |
Adds a sprite to our internal collection, so we don't have to clean it up manually later.
|
|
AddText ( string text ) : |
Adds a text object to our internal collection, so we don't have to clean it up manually later.
|
|
AddText ( |
||
FadeIn ( ) : void | ||
FadeInImmediately ( ) : void | ||
FadeOut ( ) : void | ||
FadeOut ( FadeOutMode mode ) : void | ||
FadeOutHalf ( ) : void | ||
FadeOutImmediately ( ) : void | ||
FindText ( string displayText ) : |
Find some text by content. This is useful because we generally create texts in Initialize, and reference them (if need be) in Activity/Update methods. Note that if there are multiple text objects, it returns the first one, depending on the order FRB stores them (usually, the one created first). If no Text object exists with the specified displayText, then we return null.
|
|
GetTopZValueAndMoveFadeToTop ( ) : float | ||
ManageForGarbageCollection ( Object target ) : void | ||
MoveToScreen ( |
||
RemoveResource ( FlatRedBall.PositionedObject p ) : void | ||
RemoveResource ( |
||
TowerScreen ( ) : System |
Base Screen constructor requires this. Get it done, so that we don't have to to add this to all screens.
|
Method | Description | |
---|---|---|
RemoveSprite ( |
Removes a sprite from the screen. Note that if you have a reference to this sprite, that needs to be set to null.
|
|
RemoveText ( |
Remove the text from the screen. Note that if you have a reference to this text, that still needs to be set to null.
|
public Activity ( bool firstTimeCalled ) : void | ||
firstTimeCalled | bool | |
return | void |
public AddAxisAlignedRectangle ( ) : AxisAlignedRectangle | ||
return | AxisAlignedRectangle |
public AddAxisAlignedRectangle ( float scaleX, float scaleY ) : AxisAlignedRectangle | ||
scaleX | float | |
scaleY | float | |
return | AxisAlignedRectangle |
public AddAxisAlignedRectangle ( float scaleX, float scaleY, int x, int y ) : AxisAlignedRectangle | ||
scaleX | float | |
scaleY | float | |
x | int | |
y | int | |
return | AxisAlignedRectangle |
public AddSprite ( string texture ) : |
||
texture | string | |
return |
public AddText ( string text ) : |
||
text | string | |
return |
public AddText ( |
||
text | ||
return | void |
public FindText ( string displayText ) : |
||
displayText | string | |
return |
public GetTopZValueAndMoveFadeToTop ( ) : float | ||
return | float |
public ManageForGarbageCollection ( Object target ) : void | ||
target | Object | |
return | void |
public MoveToScreen ( |
||
screenType | ||
return | void |
public RemoveResource ( FlatRedBall.PositionedObject p ) : void | ||
p | FlatRedBall.PositionedObject | |
return | void |
public RemoveResource ( |
||
t | ||
return | void |