C# 클래스 MyGame.WaterUnit

상속: Unit
파일 보기 프로젝트 열기: mahmoudbahaa/XNA-Game-project

공개 프로퍼티들

프로퍼티 타입 설명
Objects List
reflectionTarg Microsoft.Xna.Framework.Graphics.RenderTarget2D
waterEffect Microsoft.Xna.Framework.Graphics.Effect

공개 메소드들

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

Allows the unit to update itself.

메소드 상세

WaterUnit() 공개 메소드

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

renderReflection() 공개 메소드

public renderReflection ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

update() 공개 메소드

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

프로퍼티 상세

Objects 공개적으로 프로퍼티

public List Objects
리턴 List

reflectionTarg 공개적으로 프로퍼티

public RenderTarget2D,Microsoft.Xna.Framework.Graphics reflectionTarg
리턴 Microsoft.Xna.Framework.Graphics.RenderTarget2D

waterEffect 공개적으로 프로퍼티

public Effect,Microsoft.Xna.Framework.Graphics waterEffect
리턴 Microsoft.Xna.Framework.Graphics.Effect