Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Server
GameObject
updatePosition
Server.GameObject.updatePosition C# (CSharp) Метод
Документация по классу GameObject
Показать файл
Открыть проект
updatePosition()
публичный
Метод
updatePosition() updates the GameObjects position based off of its current speed.
At this time, function is not called. In the future, this method might handle all movement for the GameObjects
public
updatePosition
( ) :
void
Результат
void
public virtual void updatePosition() { x += speedX; y += speedY; }
GameObject
GameObject
calculateGravity
checkCollision
outOfBounds
updatePosition