C# Class SimpleSoccer.Net.GoalKeeper

Inheritance: PlayerBase
Mostrar archivo Open project: soshimozi/SimpleSoccer.Net

Public Methods

Method Description
BallWithinRangeForIntercept ( ) : bool
GetRearInterposeTarget ( ) : Vector2D
GoalKeeper ( SoccerTeam homeTeam, int homeRegionIndex, State startState, Vector2D heading, Vector2D velocity, double mass, double maxForce, double maxSpeed, double maxTurnRate, double scale ) : System
HandleMessage ( Telegram msg ) : bool
Render ( Graphics g ) : void
TooFarFromGoalMouth ( ) : bool
Update ( ) : void

Method Details

BallWithinRangeForIntercept() public method

public BallWithinRangeForIntercept ( ) : bool
return bool

GetRearInterposeTarget() public method

public GetRearInterposeTarget ( ) : Vector2D
return Vector2D

GoalKeeper() public method

public GoalKeeper ( SoccerTeam homeTeam, int homeRegionIndex, State startState, Vector2D heading, Vector2D velocity, double mass, double maxForce, double maxSpeed, double maxTurnRate, double scale ) : System
homeTeam SoccerTeam
homeRegionIndex int
startState State
heading Vector2D
velocity Vector2D
mass double
maxForce double
maxSpeed double
maxTurnRate double
scale double
return System

HandleMessage() public method

public HandleMessage ( Telegram msg ) : bool
msg Telegram
return bool

Render() public method

public Render ( Graphics g ) : void
g System.Drawing.Graphics
return void

TooFarFromGoalMouth() public method

public TooFarFromGoalMouth ( ) : bool
return bool

Update() public method

public Update ( ) : void
return void