C# Class TraceRacer.Gate

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Mostrar archivo Open project: alexcoco/trace_racer

Public Properties

Property Type Description
blueGate Microsoft.Xna.Framework.Graphics.Texture2D
game Microsoft.Xna.Framework.Game
gatePassed Microsoft.Xna.Framework.Graphics.Texture2D
greenGate Microsoft.Xna.Framework.Graphics.Texture2D
indigoGate Microsoft.Xna.Framework.Graphics.Texture2D
isHit System.Boolean
myTexture Microsoft.Xna.Framework.Graphics.Texture2D
orangeGate Microsoft.Xna.Framework.Graphics.Texture2D
pinkGate Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
redGate Microsoft.Xna.Framework.Graphics.Texture2D
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
violetGate Microsoft.Xna.Framework.Graphics.Texture2D
yellowGate Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Gate ( Microsoft.Xna.Framework.Game g, SpriteBatch sb, int x, int y ) : System
Update ( GameTime gameTime ) : void
genTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

Draw() public method

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

Gate() public method

public Gate ( Microsoft.Xna.Framework.Game g, SpriteBatch sb, int x, int y ) : System
g Microsoft.Xna.Framework.Game
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
x int
y int
return System

Update() public method

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

genTexture() public method

public genTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics.Texture2D

Property Details

blueGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics blueGate
return Microsoft.Xna.Framework.Graphics.Texture2D

game public_oe property

public Game,Microsoft.Xna.Framework game
return Microsoft.Xna.Framework.Game

gatePassed public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics gatePassed
return Microsoft.Xna.Framework.Graphics.Texture2D

greenGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics greenGate
return Microsoft.Xna.Framework.Graphics.Texture2D

indigoGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics indigoGate
return Microsoft.Xna.Framework.Graphics.Texture2D

isHit public_oe property

public Boolean,System isHit
return System.Boolean

myTexture public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics myTexture
return Microsoft.Xna.Framework.Graphics.Texture2D

orangeGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics orangeGate
return Microsoft.Xna.Framework.Graphics.Texture2D

pinkGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics pinkGate
return Microsoft.Xna.Framework.Graphics.Texture2D

position public_oe property

public Vector2 position
return Vector2

redGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics redGate
return Microsoft.Xna.Framework.Graphics.Texture2D

spriteBatch public_oe property

public SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
return Microsoft.Xna.Framework.Graphics.SpriteBatch

violetGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics violetGate
return Microsoft.Xna.Framework.Graphics.Texture2D

yellowGate public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics yellowGate
return Microsoft.Xna.Framework.Graphics.Texture2D