public void cancelAction(KeyEvent e){
		if(e.getKeyCode() == KeyEvent.VK_RIGHT){
			right = false;
		}
		else if(e.getKeyCode() == KeyEvent.VK_LEFT){
			left = false;
		}
		else if(e.getKeyCode() == KeyEvent.VK_UP){
			jump = false;
		}
		else if(e.getKeyCode() == KeyEvent.VK_1){
			if(mana >= Monster_1.manaCost){
				Summon newSummon = new Monster_1();
				newSummon.setX(x);
				Map.addSummon(newSummon);
				mana -= Monster_1.manaCost;
			}
		}
	}