@Override
public void update(long time) {
for (String s : m_entities.keySet()) {
Vector2D pos = m_entities.get(s).getCenter();
pos = pos.scale(1.f / 16.f).translate(m_position).translate(m_mapShift);
Singleton.getVisualisation().updateActor(s + "_mini", pos.x, pos.y, 0);
}
}
public void addEntity(WorldEntity entity, boolean player) {