C# Class Cyclyc.Framework.CycGame

Inheritance: Object
Show file Open project: JoeOsborn/Cyclyc Class Usage Examples

Public Properties

Property Type Description
ff ForceFeedbackManager

Protected Properties

Property Type Description
backgrounds List
grade float
lastMeasure int
rgen System.Random

Public Methods

Method Description
AddSprite ( CycSprite cs ) : void
CycGame ( Game1 g ) : System
DeliverEnemy ( bool leftSide, int difficulty ) : void
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
MakeEnemy ( bool leftToRight, int difficulty ) : EnemyMaker
TriggerChallenge ( int gradeLevel, Challenge c ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
AddBackground ( string bgName, float bgSpeed ) : CycBackground
CalculateGrade ( ) : void
ClearColor ( ) : Color
CoalesceChallengeBeatEnemies ( bool left, int difficulty ) : ChallengeBeat[]
CoalesceChallengeBeats ( Challenge l, Challenge r ) : void
ConsumeLeft ( int d ) : void
ConsumeRight ( int d ) : void
DrawInnards ( GameTime gt ) : void
ProcessChallenges ( int gradeLevel, GameTime gt ) : void
SetupChallenges ( ) : void
SetupFilters ( ) : void
TriggerOtherPlayerChallenge ( ) : void

Method Details

AddBackground() protected method

protected AddBackground ( string bgName, float bgSpeed ) : CycBackground
bgName string
bgSpeed float
return CycBackground

AddSprite() public method

public AddSprite ( CycSprite cs ) : void
cs CycSprite
return void

CalculateGrade() protected method

protected CalculateGrade ( ) : void
return void

ClearColor() protected method

protected ClearColor ( ) : Color
return Color

CoalesceChallengeBeatEnemies() protected method

protected CoalesceChallengeBeatEnemies ( bool left, int difficulty ) : ChallengeBeat[]
left bool
difficulty int
return ChallengeBeat[]

CoalesceChallengeBeats() protected method

protected CoalesceChallengeBeats ( Challenge l, Challenge r ) : void
l Challenge
r Challenge
return void

ConsumeLeft() protected method

protected ConsumeLeft ( int d ) : void
d int
return void

ConsumeRight() protected method

protected ConsumeRight ( int d ) : void
d int
return void

CycGame() public method

public CycGame ( Game1 g ) : System
g Game1
return System

DeliverEnemy() public method

public DeliverEnemy ( bool leftSide, int difficulty ) : void
leftSide bool
difficulty int
return void

Draw() public method

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

DrawInnards() protected method

protected DrawInnards ( GameTime gt ) : void
gt Microsoft.Xna.Framework.GameTime
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() public method

public LoadContent ( ) : void
return void

MakeEnemy() public method

public MakeEnemy ( bool leftToRight, int difficulty ) : EnemyMaker
leftToRight bool
difficulty int
return EnemyMaker

ProcessChallenges() protected method

protected ProcessChallenges ( int gradeLevel, GameTime gt ) : void
gradeLevel int
gt Microsoft.Xna.Framework.GameTime
return void

SetupChallenges() protected method

protected SetupChallenges ( ) : void
return void

SetupFilters() protected method

protected SetupFilters ( ) : void
return void

TriggerChallenge() public method

public TriggerChallenge ( int gradeLevel, Challenge c ) : void
gradeLevel int
c Challenge
return void

TriggerOtherPlayerChallenge() protected method

protected TriggerOtherPlayerChallenge ( ) : void
return void

Update() public method

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

Property Details

backgrounds protected property

protected List backgrounds
return List

ff public property

public ForceFeedbackManager ff
return ForceFeedbackManager

grade protected property

protected float grade
return float

lastMeasure protected property

protected int lastMeasure
return int

rgen protected property

protected Random,System rgen
return System.Random