}
@Override
public void recieveIntent(ComponentIntent intent) {
if (intent.getClass() == MouseListenerComponentMoveIntent.class) {
MouseListenerComponentMoveIntent mouseMoveIntent = (MouseListenerComponentMoveIntent) intent;
float x = mouseMoveIntent.getX();
float y = mouseMoveIntent.getY();
SpatialComponent position = (SpatialComponent) gameObject.getComponent(SpatialComponent.class);
if (position == null) {
return;
}