Switch cases + neccessary collision improvement
Switch cases + neccessary collision improvement

Used switch cases instead of if statements, added new block types to collision system

tobiasvonarx/HTML5-JS,tobiasvonarx/HTML5-JS