Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public AddAxisAlignedRectangle ( ) : AxisAlignedRectangle | ||
Результат | AxisAlignedRectangle |
public AddAxisAlignedRectangle ( float scaleX, float scaleY ) : AxisAlignedRectangle | ||
scaleX | float | |
scaleY | float | |
Результат | AxisAlignedRectangle |
public AddAxisAlignedRectangle ( float scaleX, float scaleY, int x, int y ) : AxisAlignedRectangle | ||
scaleX | float | |
scaleY | float | |
x | int | |
y | int | |
Результат | AxisAlignedRectangle |
public AddSprite ( string texture ) : |
||
texture | string | |
Результат |
public AddText ( string text ) : |
||
text | string | |
Результат |
public AddText ( |
||
text | ||
Результат | void |
public FadeOut ( FadeOutMode mode ) : void | ||
mode | FadeOutMode | |
Результат | void |
public FindText ( string displayText ) : |
||
displayText | string | |
Результат |
public GetTopZValueAndMoveFadeToTop ( ) : float | ||
Результат | float |
public ManageForGarbageCollection ( Object target ) : void | ||
target | Object | |
Результат | void |
public MoveToScreen ( |
||
screenType | ||
Результат | void |
public RemoveResource ( FlatRedBall.PositionedObject p ) : void | ||
p | FlatRedBall.PositionedObject | |
Результат | void |
public RemoveResource ( |
||
t | ||
Результат | void |