C# Class RaceGame.Clouds

Inheritance: IClouds
显示文件 Open project: cjohnsson/Racing-Game Class Usage Examples

Public Methods

Method Description
Clouds ( ) : System
Clouds ( Microsoft.Xna.Framework.Graphics.Texture2D image ) : System
Draw ( SpriteBatch spriteBatch ) : void
Update ( ) : void

Private Methods

Method Description
SetSpeed ( ) : void
UpdatePositionFourthPicture ( ) : void
UpdatePositionSecondPicture ( ) : void
UpdatePositionThirdPicture ( ) : void
UpdatePostitionFirstPicture ( ) : void

Method Details

Clouds() public method

public Clouds ( ) : System
return System

Clouds() public method

public Clouds ( Microsoft.Xna.Framework.Graphics.Texture2D image ) : System
image Microsoft.Xna.Framework.Graphics.Texture2D
return System

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Update() public method

public Update ( ) : void
return void