Toggle navigation
Hot Examples
KO
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 1 문서
파일 보기
프로젝트 열기: pmyoung/Advanced-Game-Project
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