added cooldowns and projectiles/shooting
merged and also added onGround and air jump logic