C# Class MyGame.SkyCubeUnit

This class represent sky cube unit which updates the position of the cube to the position of the camera
Inheritance: Unit
Show file Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Public Methods

Method Description
SkyCubeUnit ( MyGame game, Vector3 Position, Vector3 Rotation, Vector3 Scale ) : System
update ( GameTime gameTime ) : void

Allows the unit to update itself.

Method Details

SkyCubeUnit() public method

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

update() public method

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