add main methods to the prototype of core game objects