0.35.1 UML 1.4 false true true true false false false true false true 1 true Dialog 12 0 Class Diagram UML 1.4 GoodPractices CodeGeneration ArgoUML (using Netbeans XMI Writer version 1.0) 0.35.1(6) revised on $Date: 2012-12-30 14:06:01 +0100 (Sun, 30 Dec 2012) $ true true true true true true true true gameobjects enclosingFig="Fig0" + Catapult enclosingFig="Fig0" + Knight enclosingFig="Fig0" + Archer enclosingFig="Fig0" + Soldier enclosingFig="Fig0" + Collector -averageCollectionRate : Integer +getCollectionRate() enclosingFig="Fig0" + Worker -currentlyBuilding : boolean +isCurrentlyBuilding() : boolean enclosingFig="Fig0" + Infantry -health : int -damage : int -range : int +attack(Building) +getHealth() +getDamage() +getRange() enclosingFig="Fig0" + Inhabitant «interface» +move(Tile) +getPosition() sourcePortFig="Fig7.0" destPortFig="Fig8.0" sourceFigNode="Fig7" destFigNode="Fig8" sourcePortFig="Fig5.0" destPortFig="Fig8.0" sourceFigNode="Fig5" destFigNode="Fig8" sourcePortFig="Fig6.0" destPortFig="Fig8.0" sourceFigNode="Fig6" destFigNode="Fig8" enclosingFig="Fig0" + ArcherTower enclosingFig="Fig0" + Cannon enclosingFig="Fig0" + DefenseBuilding +damage : int +range : int +attack(Infantry) sourcePortFig="Fig12.0" destPortFig="Fig14" sourceFigNode="Fig12" destFigNode="Fig14" sourcePortFig="Fig13.0" destPortFig="Fig14" sourceFigNode="Fig13" destFigNode="Fig14" enclosingFig="Fig0" + Village_Hall -goldCapacity : int -ironCapacity : int -woodCapacity : int +getGoldCapacity() : int +getIronCapacity() : int +getWoodCapacity() : int enclosingFig="Fig0" + GoldMine enclosingFig="Fig0" + LumberMine enclosingFig="Fig0" + IronMine enclosingFig="Fig0" + Farm +getPopulationContribution() : int enclosingFig="Fig0" + ResourceBuidling +resource : String -harvest_rate : int +harvest(Village_Hall) sourcePortFig="Fig18.0" destPortFig="Fig22" sourceFigNode="Fig18" destFigNode="Fig22" sourcePortFig="Fig19.0" destPortFig="Fig22" sourceFigNode="Fig19" destFigNode="Fig22" sourcePortFig="Fig20.0" destPortFig="Fig22" sourceFigNode="Fig20" destFigNode="Fig22" player enclosingFig="Fig0" + Building -level : int -health : int -stages : Stage -goldCost : int -ironCost : int -woodCost : int -buildTime : int +getLevel() +getHealth() +getCost(String) +getUpgradeCost() +upgrade() +getBuildTime() : int sourcePortFig="Fig17.0" destPortFig="Fig27" sourceFigNode="Fig17" destFigNode="Fig27" sourcePortFig="Fig22.0" destPortFig="Fig27" sourceFigNode="Fig22" destFigNode="Fig27" sourcePortFig="Fig14.0" destPortFig="Fig27" sourceFigNode="Fig14" destFigNode="Fig27" enclosingFig="Fig0" ~ Stage #dHealth : int #goldCost : int #requiredVillageLevel : int #upgradeTime : int #ironCost : int #woodCost : int +getHealthChange() +getCost(String) : int +getRequiredVillageLevel() : int +getUpgradeTime() : int enclosingFig="Fig0" + gameobjects::Tile +x : int +y : int sourcePortFig="Fig27" destPortFig="Fig31" sourceFigNode="Fig27" destFigNode="Fig31" enclosingFig="Fig0" ~ DefenseStage #dDamge : int #dRange : int +getDamageChange() +getRangeChange() sourcePortFig="Fig34.0" destPortFig="Fig31" sourceFigNode="Fig34" destFigNode="Fig31" userinterface enclosingFig="Fig36" + GuiManager enclosingFig="Fig26" + Player +currentGold : int +currentIron : int +currentWood : int game sourcePortFig="Fig39.0" destPortFig="Fig36" sourceFigNode="Fig39" destFigNode="Fig36" enclosingFig="Fig39" + GameEngine -player : Player -pillageFactor : int -currentTime : int +attackVIllage(Map) +generateMap() : Map +getScore(Map) enclosingFig="Fig39" + Map -townHall : Village_Hall -guardTime : int +move(Infantry,Tile) +inRange(Infantry,Building) +build(Village_Hall,Tile,Building) +getGuardTime() : int +setGuardTime() sourcePortFig="Fig0" destPortFig="Fig36" sourceFigNode="Fig0" destFigNode="Fig36" sourcePortFig="Fig26" destPortFig="Fig0" sourceFigNode="Fig26" destFigNode="Fig0" sourcePortFig="Fig36" destPortFig="Fig0" sourceFigNode="Fig36" destFigNode="Fig0" sourcePortFig="Fig39" destPortFig="Fig0" sourceFigNode="Fig39" destFigNode="Fig0" sourcePortFig="Fig2.0" destPortFig="Fig7" sourceFigNode="Fig2" destFigNode="Fig7" sourcePortFig="Fig1.0" destPortFig="Fig7" sourceFigNode="Fig1" destFigNode="Fig7" sourcePortFig="Fig3.0" destPortFig="Fig7" sourceFigNode="Fig3" destFigNode="Fig7" sourcePortFig="Fig4.0" destPortFig="Fig7" sourceFigNode="Fig4" destFigNode="Fig7" sourcePortFig="Fig32" destPortFig="Fig27" sourceFigNode="Fig32" destFigNode="Fig27" sourcePortFig="Fig42" destPortFig="Fig27" sourceFigNode="Fig42" destFigNode="Fig27" sourcePortFig="Fig41" destPortFig="Fig42" sourceFigNode="Fig41" destFigNode="Fig42" sourcePortFig="Fig42" destPortFig="Fig8" sourceFigNode="Fig42" destFigNode="Fig8" enclosingFig="Fig0" ~ VillageStage #goldCapacityIncrease : int #ironCapacityIncrease : int #woodCapacityIncrease : int +getWoodCapacityIncrease() : int +getIronCapacityIncrease() : int +getWoodCapacityIncrease() : int enclosingFig="Fig0" + ResourceStage #harvestRateIncrease : int +getHarvestRateIncrease() : int sourcePortFig="Fig55.0" destPortFig="Fig31" sourceFigNode="Fig55" destFigNode="Fig31" sourcePortFig="Fig56.0" destPortFig="Fig31" sourceFigNode="Fig56" destFigNode="Fig31" sourcePortFig="Fig27" destPortFig="Fig8" sourceFigNode="Fig27" destFigNode="Fig8" sourcePortFig="Fig21.0" destPortFig="Fig22" sourceFigNode="Fig21" destFigNode="Fig22"