// Robot release
GameData.getSelectedColony().releaseRobots(a.getRobotsUsed());
// Deletion of the action in the GameData
if (a instanceof BuildingAction) {
BuildingAction ba = (BuildingAction) a;
GameData.getSelectedColony().getBuildingActions().remove(ba);
// If the action was a building then unselect the building
if (ba.getBuilding().isUnderConstruction()) {
// Call to selectBuilding method to handle buttons state
// properly
this.selectBuilding(null);
// TODO Play destruction sound