move obj.rect initialization to obj.init function
object which hits player will not be killed
rewording
[fix] incorrect section name
move GAME state change to GAME.init
use clsIds to identify classes
rewording
supress repeated keydown event
better keydown detection
function killObj accepts all arguments as a list
rewording
minor changes of object updating process
use newAnimateList for STORY
newAnimateList accepts parameters
newAnimateList replace object.data.ticks
newStateMachine also save stes object
move STORY.state init back into STORY.load
[fix] STORY.timeout times correction

if n is a number, it will be executed n times, otherwise only once.
remove object state change operation from classes
do initialization after res.loaded event