add: added onClick event in online tictactoe
This commit is contained in:
@ -17,11 +17,13 @@ export default class extends AbstractView
|
||||
{
|
||||
this.Morpion = new TicTacToe(this.height, this.width, 60, 60, document.getElementById("Morpion"));
|
||||
this.Morpion.DrawSuperMorpion();
|
||||
this.Morpion.SetOutline("#43d166");
|
||||
this.Morpion.init();
|
||||
}
|
||||
|
||||
async leavePage()
|
||||
{
|
||||
|
||||
this.Morpion.uninit();
|
||||
}
|
||||
|
||||
setTitle()
|
||||
|
Reference in New Issue
Block a user