C# Class ConveyorDefence.Nodes.Node

Afficher le fichier Open project: markevich/ConveyorDefence-linux Class Usage Examples

Méthodes publiques

Свойство Type Description
LeftDownTileID int
RightDownTileID int

Protected Properties

Свойство Type Description
OutputsCount int
TimeSinseLastProcess float
_missiles List

Private Properties

Свойство Type Description
GetCurrentMissile ConveyorDefence.Missiles.Missile
NextNodeExists bool

Méthodes publiques

Méthode Description
Draw ( SpriteBatch batch ) : void
Input ( Missile missile ) : void
Node ( float outputCooldown ) : System
Node ( float outputCooldown, int leftDownTileID, int rightDownTileID, NodeDirection direction, InputStrategy inputStrategy, ProcessStrategy processStrategy, OutputStrategy outputStrategy ) : System
Update ( GameTime gameTime ) : void

Méthodes protégées

Méthode Description
HasNodeDatas ( ) : bool
Output ( ) : void
Process ( ) : void

Private Methods

Méthode Description
GetCurrentMissile ( ) : Missile
NextNodeExists ( ) : bool

Method Details

Draw() public méthode

public Draw ( SpriteBatch batch ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

HasNodeDatas() protected méthode

protected HasNodeDatas ( ) : bool
Résultat bool

Input() public méthode

public Input ( Missile missile ) : void
missile ConveyorDefence.Missiles.Missile
Résultat void

Node() public méthode

public Node ( float outputCooldown ) : System
outputCooldown float
Résultat System

Node() public méthode

public Node ( float outputCooldown, int leftDownTileID, int rightDownTileID, NodeDirection direction, InputStrategy inputStrategy, ProcessStrategy processStrategy, OutputStrategy outputStrategy ) : System
outputCooldown float
leftDownTileID int
rightDownTileID int
direction NodeDirection
inputStrategy ConveyorDefence.Nodes.Strategies.InputStrategy
processStrategy ConveyorDefence.Nodes.Strategies.ProcessStrategy
outputStrategy ConveyorDefence.Nodes.Strategies.OutputStrategy
Résultat System

Output() protected méthode

protected Output ( ) : void
Résultat void

Process() protected méthode

protected Process ( ) : void
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

LeftDownTileID public_oe property

public int LeftDownTileID
Résultat int

OutputsCount protected_oe property

protected int OutputsCount
Résultat int

RightDownTileID public_oe property

public int RightDownTileID
Résultat int

TimeSinseLastProcess protected_oe property

protected float TimeSinseLastProcess
Résultat float

_missiles protected_oe property

protected List _missiles
Résultat List