mgechev / mk.js

Canvas implementation of basic fighting game which allows multiplayer over the network.

Home Page:http://mk.mgechev.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reset functionality

mgechev opened this issue · comments

Reset functionality should be added to the game.
The game should have reset method which responsibility will be to clean references and delegate the reset action to lower levels of abstraction (such as the current game controller, arena, moves and fighters).
If the corresponding game controller implements its own reset method (for whatever purpose, for example reset the network connection), the reset method of the global object mk should call it.