C# Class Nez.Sprites.ScrollingSprite

Inheritance: Sprite, IUpdatable
Show file Open project: prime31/Nez

Public Properties

Property Type Description
scrollSpeedX float
scrollSpeedY float

Public Methods

Method Description
IUpdatable ( ) : void
ScrollingSprite ( Subtexture subtexture ) : Nez.Textures
ScrollingSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Nez.Textures

Method Details

IUpdatable() public method

public IUpdatable ( ) : void
return void

ScrollingSprite() public method

public ScrollingSprite ( Subtexture subtexture ) : Nez.Textures
subtexture Nez.Textures.Subtexture
return Nez.Textures

ScrollingSprite() public method

public ScrollingSprite ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Nez.Textures
texture Microsoft.Xna.Framework.Graphics.Texture2D
return Nez.Textures

Property Details

scrollSpeedX public property

x speed of automatic scrolling
public float scrollSpeedX
return float

scrollSpeedY public property

y speed of automatic scrolling
public float scrollSpeedY
return float