public void execute() {
notifyBefore();
MapData mapData = Game.getMapData();
if (mapData.isMapObjectTimed(timedMO)) {
TurnTimed mo = (TurnTimed)(mapData.getMapObject(timedMO));
mo.setTime(time);
} else {
throw new ClassCastException("SetMapObjectTime must be feeded with"
+ " the id of a MapObject implementing TurnTimed!!!");
}