C# Class MyGame.WaterUnit

Inheritance: Unit
Afficher le fichier Open project: mahmoudbahaa/XNA-Game-project

Méthodes publiques

Свойство Type Description
Objects List
reflectionTarg Microsoft.Xna.Framework.Graphics.RenderTarget2D
waterEffect Microsoft.Xna.Framework.Graphics.Effect

Méthodes publiques

Méthode Description
WaterUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale ) : System
renderReflection ( GameTime gameTime ) : void
update ( GameTime gameTime ) : void

Allows the unit to update itself.

Method Details

WaterUnit() public méthode

public WaterUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale ) : System
game MyGame
Position Vector3
Rotation Vector3
Scale Vector3
Résultat System

renderReflection() public méthode

public renderReflection ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

update() public méthode

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

Property Details

Objects public_oe property

public List Objects
Résultat List

reflectionTarg public_oe property

public RenderTarget2D,Microsoft.Xna.Framework.Graphics reflectionTarg
Résultat Microsoft.Xna.Framework.Graphics.RenderTarget2D

waterEffect public_oe property

public Effect,Microsoft.Xna.Framework.Graphics waterEffect
Résultat Microsoft.Xna.Framework.Graphics.Effect