메소드 | 설명 | |
---|---|---|
Simulate ( float time ) : void |
Simulates one step of the football game.
|
|
Simulation ( ReadOnlyCollection |
Initializes a new instance of the Simulation class.
|
메소드 | 설명 | |
---|---|---|
OnGoalScored ( |
||
OnReset ( ) : void | ||
ResolveBallDirection ( IEnumerable |
||
SimulateBall ( float time, IEnumerable |
||
SimulatePlaying ( float time ) : void | ||
SimulateResetting ( float time ) : void |
public Simulation ( ReadOnlyCollection |
||
teams | ReadOnlyCollection |
The teams to be played against each other. |
ball | The ball. | |
pitchBounds | The pitch boundaries. | |
friction | float | The friction coefficient. |
리턴 | System |