153154155156157158159160161162163
addBasicEntities(); player1.addEventListeners(); Bonus b = BonusFactory.createBonus(IEntity.BONUS_LIGHTNING_ORB); b.spawn(new Vector2f(player1.position.x+100,player1.position.y), DEFAULT_SCROLLING_SPEED, bonus); addControlKeys();