Method | Description | |
---|---|---|
FormBattleShip ( ) : System | ||
NewMatch ( ) : void |
This creates a new match.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
AttemptPlayMatch ( ) : void | ||
Form1_Load ( object sender, EventArgs e ) : void | ||
GridAIDrag ( object sender, DragEventArgs e ) : void | ||
GridAIDragDrop ( object sender, DragEventArgs e ) : void |
Places the dragged ship onto the grid
|
|
GridAIDragLeave ( object sender, EventArgs e ) : void | ||
GridUserClick ( object sender, MouseEventArgs e ) : void | ||
GridUserMouseLeave ( object sender, EventArgs e ) : void | ||
GridUserMove ( object sender, MouseEventArgs e ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
RoundEnd ( Event ev ) : void | ||
SelectShip ( int size ) : |
||
ShipCanFit ( Coordinates destCoordinates, int size, int modX, int modY ) : bool | ||
UpdateShipDestroyed ( Event ev ) : void | ||
UpdateShot ( Event ev ) : void | ||
UpdateShotHit ( Event ev ) : void | ||
UpdateWinner ( Event ev ) : void | ||
buttonExit_Click ( object sender, EventArgs e ) : void | ||
buttonNShip_MouseDown ( object sender, MouseEventArgs e ) : void | ||
buttonReset_Click ( object sender, EventArgs e ) : void | ||
reset_Board ( ) : void | ||
shiftKey_Down ( int KeyState ) : Boolean | ||
showStats ( ) : void |
Show the score between user and computer in labelfire.
|
|
timerAI_Tick ( object sender, EventArgs e ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |