List of usage examples for javafx.geometry Point2D ZERO
Point2D ZERO
To view the source code for javafx.geometry Point2D ZERO.
Click Source Link
From source file:de.pixida.logtest.designer.automaton.BaseNode.java
void moveTo(final Point2D targetPosition) { final Point2D oldPosition = Point2D.ZERO.add(this.getPosition()); // Deep copy this.setPosition(targetPosition); this.processMoveOperation(oldPosition, targetPosition); }
From source file:server.PokemonRequisition.java
public PokemonRequisition(BlockingQueue<Socket> requisitions, ObservableList<PlayerServer> obsPlayerOnline) { requisitioQueue = requisitions;//from www .ja v a2 s. c o m this.obsPlayerOnline = obsPlayerOnline; fillQuadtreeTimer = Calendar.getInstance().getTimeInMillis(); // Carrega mapa map.loadMap("main_2.tmx", null); quadtree.createTree(new Rectangle(map.getMapWidth(), map.getMapHeight()), Point2D.ZERO); map = new Map(); }