C# Class Drought.World.Sun

Mostrar archivo Open project: kiniry-teaching/UCD Class Usage Examples

Public Methods

Method Description
Sun ( Vector3 position ) : System
getPosition ( ) : Vector3
getPower ( ) : float
setPosition ( Vector3 position ) : void
setPower ( float power ) : void
update ( GameTime gameTime ) : void

Method Details

Sun() public method

public Sun ( Vector3 position ) : System
position Vector3
return System

getPosition() public method

public getPosition ( ) : Vector3
return Vector3

getPower() public method

public getPower ( ) : float
return float

setPosition() public method

public setPosition ( Vector3 position ) : void
position Vector3
return void

setPower() public method

public setPower ( float power ) : void
power float
return void

update() public method

public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void