C# 클래스 MyGame.SkyCubeUnit

This class represent sky cube unit which updates the position of the cube to the position of the camera
상속: Unit
파일 보기 프로젝트 열기: mahmoudbahaa/XNA-Game-project 1 사용 예제들

공개 메소드들

메소드 설명
SkyCubeUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale ) : System
update ( GameTime gameTime ) : void

Allows the unit to update itself.

메소드 상세

SkyCubeUnit() 공개 메소드

public SkyCubeUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale ) : System
game MyGame
Position Vector3
Rotation Vector3
Scale Vector3
리턴 System

update() 공개 메소드

Allows the unit to update itself.
public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void