@Override public boolean wyTouchesBegan(MotionEvent event) { WYPoint loc = Director.getInstance().convertToGL(event.getX(), event.getY()); emitter.setPosition(loc.x, loc.y); return true; }
private void setEmitterPosition() { WYSize s = Director.getInstance().getWindowSize(); emitter.setPosition(s.width / 2, s.height / 2); }