Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes the pens and brushes created by this class.
|
|
Draw ( |
Draws the simualation with the specified colors.
|
|
SimulationDrawingStrategy ( Color line, Color ball, IList |
Initializes a new instance of this class with the specified colors used for drawing the game.
|
Method | Description | |
---|---|---|
DrawBall ( |
||
DrawDebugInfo ( IPointMass pointMass, |
||
DrawPitch ( |
||
DrawPointMass ( IPointMass pointMass, |
||
DrawTeams ( |
public Draw ( |
||
g | The graphics context. | |
s | ISimulation | The simulation to draw. |
return | void |
public SimulationDrawingStrategy ( Color line, Color ball, IList |
||
line | Color | The line color. |
ball | Color | The ball color. |
teamColors | IList |
/// The colors of each of the teams. Colors should be in order of the |
font | Font to draw debug text. | |
return | System |