state callbacks now receive game object as argument
added getMagnitude, setMagnitude, normalize and isZero methods to Point