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) $ Abstraction gameobjects enclosingFig="Fig0" + Catapult enclosingFig="Fig0" + Knight enclosingFig="Fig0" + Archer enclosingFig="Fig0" + Soldier +newOperation() + Collector + Worker 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() +getIronCapacity() +getWoodCapacity() enclosingFig="Fig0" + GoldMine enclosingFig="Fig0" + LumberMine enclosingFig="Fig0" + IronMine enclosingFig="Fig0" + Farm enclosingFig="Fig0" + ResourceBuidling +resource : String -harvest_rate : int +harvest() sourcePortFig="Fig21.0" destPortFig="Fig22" sourceFigNode="Fig21" destFigNode="Fig22" 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 +cost : int +getLevel() +getHealth() +getCost() +getUpgradeCost() +upgrade() sourcePortFig="Fig17.0" destPortFig="Fig28" sourceFigNode="Fig17" destFigNode="Fig28" sourcePortFig="Fig22.0" destPortFig="Fig28" sourceFigNode="Fig22" destFigNode="Fig28" sourcePortFig="Fig14.0" destPortFig="Fig28" sourceFigNode="Fig14" destFigNode="Fig28" enclosingFig="Fig0" ~ Stage #dHealth : int #cost : int #requiredVillageLevel : int +getHealthChange() +getCost() +getRequiredVillageLevel() enclosingFig="Fig0" + gameobjects::Tile +x : int +y : int sourcePortFig="Fig28" destPortFig="Fig32" sourceFigNode="Fig28" destFigNode="Fig32" ~ DefenseStage #dDamge : int #dRange : int +getDamageChange() +getRangeChange() sourcePortFig="Fig35.0" destPortFig="Fig32" sourceFigNode="Fig35" destFigNode="Fig32" UserInterface enclosingFig="Fig37" + GuiManager enclosingFig="Fig27" + Player +currentGold : int +currentIron : int +currentWood : int game sourcePortFig="Fig40.0" destPortFig="Fig37" sourceFigNode="Fig40" destFigNode="Fig37" enclosingFig="Fig40" + GameEngine enclosingFig="Fig40" + Map +move(Infantry,Tile) +inRange(Infantry,Building) sourcePortFig="Fig0" destPortFig="Fig37" sourceFigNode="Fig0" destFigNode="Fig37" sourcePortFig="Fig27" destPortFig="Fig0" sourceFigNode="Fig27" destFigNode="Fig0" sourcePortFig="Fig37" destPortFig="Fig0" sourceFigNode="Fig37" destFigNode="Fig0" sourcePortFig="Fig40" destPortFig="Fig0" sourceFigNode="Fig40" 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="Fig33" destPortFig="Fig28" sourceFigNode="Fig33" destFigNode="Fig28" sourcePortFig="Fig43" destPortFig="Fig28" sourceFigNode="Fig43" destFigNode="Fig28" sourcePortFig="Fig42" destPortFig="Fig43" sourceFigNode="Fig42" destFigNode="Fig43" sourcePortFig="Fig43" destPortFig="Fig8" sourceFigNode="Fig43" destFigNode="Fig8"