Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
SunsetHigh
SmoothMovingSprite
smoothMoveCenter
SunsetHigh.SmoothMovingSprite.smoothMoveCenter C# (CSharp) Method
SmoothMovingSprite Class Documentation
Mostrar archivo
Open project: ErraticUnicorn/MOSH
smoothMoveCenter()
public
method
Requests that the Sprite begin smoothly moving its center to a specified point within the default amount of time
public
smoothMoveCenter
(
int
x
,
int
y
) :
void
x
int
X coordinate of the new location (center)
y
int
Y coordinate of the new location (center)
return
void
public void smoothMoveCenter(int x, int y) { this.smoothMoveCenter(x, y, DEFAULT_SMOOTH_TIME); }
Same methods
SmoothMovingSprite::
smoothMoveCenter
(
int
x
,
int
y
,
float
time
) :
void
SmoothMovingSprite
SmoothMovingSprite
getFractionTraveled
getSmoothMoveType
isSmoothMoving
setSmoothMoveType
smoothMove
smoothMoveCameraAdjust
smoothMoveCenter
update