Property | Type | Description | |
---|---|---|---|
_distanceToTarget | float | ||
_slideSpeed | float | ||
_startingPosition | Vector2 | ||
_state | FontState | ||
_targetPosition | Vector2 | ||
_targetTolerance | float | ||
_unitVectorToTarget | Vector2 |
Method | Description | |
---|---|---|
Reset ( ) : void |
Reset the font to its initial state.
|
|
Reset ( bool startSlide ) : void |
Reset the font to its initial state.
|
|
Slide ( ) : void |
Sets the font to visible and begins sliding towards the target position.
|
|
SlidingFont ( |
||
SlidingFont ( |
||
SlidingFont ( |
||
Update ( |
Method | Description | |
---|---|---|
calculateSlide ( ) : void | ||
changeState ( FontState newState ) : void |
public Reset ( bool startSlide ) : void | ||
startSlide | bool | If true, |
return | void |
public SlidingFont ( |
||
font | ||
startPosition | Vector2 | |
endPosition | Vector2 | |
slideSpeed | float | |
tintColor | Color | |
return | System |
public SlidingFont ( |
||
font | ||
startPosition | Vector2 | |
endPosition | Vector2 | |
slideSpeed | float | |
text | String | |
tintColor | Color | |
return | System |
public SlidingFont ( |
||
font | ||
startPosition | Vector2 | |
endPosition | Vector2 | |
slideSpeed | float | |
text | String | |
tintColor | Color | |
shadowPosition | Vector2 | |
shadowColor | Color | |
return | System |
public Update ( |
||
gameTime | ||
return | void |
protected changeState ( FontState newState ) : void | ||
newState | FontState | |
return | void |