public static void Tick(){
	Object[] x = keyMap.keySet().toArray();
	for(int y = 0;y<x.length;y++){
		if(Keyboard.isKeyDown(Integer.parseInt(x[y].toString()))){
			keyMap.get(x[y]).keyPressed(Integer.parseInt(x[y].toString()));
		}
	}
	}