C# Class SimpleSoccer.Net.SoccerGoal

Defines a goal in the soccer game simulation
Mostra file Open project: soshimozi/SimpleSoccer.Net Class Usage Examples

Public Methods

Method Description
CheckIfGoalScored ( SoccerBall ball ) : bool
ResetGoals ( ) : void
SoccerGoal ( Vector2D leftPost, Vector2D rightPost, Vector2D facing ) : System

Method Details

CheckIfGoalScored() public method

public CheckIfGoalScored ( SoccerBall ball ) : bool
ball SoccerBall
return bool

ResetGoals() public method

public ResetGoals ( ) : void
return void

SoccerGoal() public method

public SoccerGoal ( Vector2D leftPost, Vector2D rightPost, Vector2D facing ) : System
leftPost Vector2D
rightPost Vector2D
facing Vector2D
return System