public void tick() {
		mup = keys[KeyEvent.VK_W];
		mdown = keys[KeyEvent.VK_S];
		mleft = keys[KeyEvent.VK_A];
		mright = keys[KeyEvent.VK_D];
		
		aup = keys[KeyEvent.VK_UP];
		adown = keys[KeyEvent.VK_DOWN];
		aleft = keys[KeyEvent.VK_LEFT];
		aright = keys[KeyEvent.VK_RIGHT];
		
		escape = keys[KeyEvent.VK_ESCAPE];
		space = keys[KeyEvent.VK_SPACE];
		
		centrex = mousex + 12;
		centrey = mousey + 12;
	}