메소드 | 설명 | |
---|---|---|
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 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 FindText ( string displayText ) : |
||
displayText | string | |
리턴 |
public ManageForGarbageCollection ( Object target ) : void | ||
target | Object | |
리턴 | void |
public RemoveResource ( FlatRedBall.PositionedObject p ) : void | ||
p | FlatRedBall.PositionedObject | |
리턴 | void |
public RemoveResource ( |
||
t | ||
리턴 | void |