C# Class Cyclyc.ShipGirl.BeamBit

Inheritance: CycSprite
ファイルを表示 Open project: JoeOsborn/Cyclyc

Public Methods

Method Description
BeamBit ( Game1 game, BeamPool pool ) : System
Die ( ) : void
LoadContent ( ) : void
Reset ( string img, float x, float y, float vx, float vy, float sz ) : void
Update ( GameTime gt ) : void

Protected Methods

Method Description
HitBottomEdge ( GameTime gt ) : void
HitLeftEdge ( GameTime gt ) : void
HitRightEdge ( GameTime gt ) : void
HitTopEdge ( GameTime gt ) : void
StopAtBottomEdge ( GameTime gt ) : bool
StopAtLeftEdge ( GameTime gt ) : bool
StopAtRightEdge ( GameTime gt ) : bool
StopAtTopEdge ( GameTime gt ) : bool

Method Details

BeamBit() public method

public BeamBit ( Game1 game, BeamPool pool ) : System
game Game1
pool BeamPool
return System

Die() public method

public Die ( ) : void
return void

HitBottomEdge() protected method

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

HitLeftEdge() protected method

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

HitRightEdge() protected method

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

HitTopEdge() protected method

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

LoadContent() public method

public LoadContent ( ) : void
return void

Reset() public method

public Reset ( string img, float x, float y, float vx, float vy, float sz ) : void
img string
x float
y float
vx float
vy float
sz float
return void

StopAtBottomEdge() protected method

protected StopAtBottomEdge ( GameTime gt ) : bool
gt Microsoft.Xna.Framework.GameTime
return bool

StopAtLeftEdge() protected method

protected StopAtLeftEdge ( GameTime gt ) : bool
gt Microsoft.Xna.Framework.GameTime
return bool

StopAtRightEdge() protected method

protected StopAtRightEdge ( GameTime gt ) : bool
gt Microsoft.Xna.Framework.GameTime
return bool

StopAtTopEdge() protected method

protected StopAtTopEdge ( GameTime gt ) : bool
gt Microsoft.Xna.Framework.GameTime
return bool

Update() public method

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