MCPcopy Create free account
hub / github.com/SimHacker/micropolis / move

Method move

micropolis-java/src/micropolisj/engine/Sprite.java:70–76  ·  view source on GitHub ↗

Perform this agent's movement and animation.

()

Source from the content-addressed store, hash-verified

68 * Perform this agent's movement and animation.
69 */
70 public final void move()
71 {
72 lastX = x;
73 lastY = y;
74 moveImpl();
75 city.fireSpriteMoved(this);
76 }
77
78 /**
79 * Tells whether this sprite is visible.

Callers 1

moveObjectsMethod · 0.45

Calls 2

moveImplMethod · 0.95
fireSpriteMovedMethod · 0.80

Tested by

no test coverage detected