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="LAYER_NULL" + Catapult enclosingFig="LAYER_NULL" + Knight enclosingFig="LAYER_NULL" + Archer enclosingFig="Fig0" + Soldier +newOperation() enclosingFig="LAYER_NULL" + Collector enclosingFig="LAYER_NULL" + Worker enclosingFig="LAYER_NULL" + Infantry +health : float +damage : float +range : Tile +attack() enclosingFig="LAYER_NULL" + Inhabitant «interface» 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="LAYER_NULL" + ArcherTower enclosingFig="LAYER_NULL" + Cannon +newOperation() enclosingFig="LAYER_NULL" + DefenseBuilding +damage : int +range : int sourcePortFig="Fig12.0" destPortFig="Fig14" sourceFigNode="Fig12" destFigNode="Fig14" sourcePortFig="Fig13.0" destPortFig="Fig14" sourceFigNode="Fig13" destFigNode="Fig14" enclosingFig="LAYER_NULL" + Village_Hall +goldCapacity : int +ironCapacity : int +woodCapacity : int +getGoldCapacity() +getIronCapacity() +getWoodCapacity() enclosingFig="LAYER_NULL" + GoldMine enclosingFig="LAYER_NULL" + LumberMine enclosingFig="LAYER_NULL" + IronMine enclosingFig="Fig0" + Farm enclosingFig="LAYER_NULL" + ResourceBuidling +resource : String -harvest_rate : int 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" enclosingFig="LAYER_NULL" Should possibly consider replacing infantry with enum? Player enclosingFig="LAYER_NULL" + Building -level : int -health : int -stages : Stage +cost : int +getLevel() +getHealth() +getCost() +getUpgradeCost() +upgrade() sourcePortFig="Fig17.0" destPortFig="Fig29" sourceFigNode="Fig17" destFigNode="Fig29" sourcePortFig="Fig22.0" destPortFig="Fig29" sourceFigNode="Fig22" destFigNode="Fig29" sourcePortFig="Fig14.0" destPortFig="Fig29" sourceFigNode="Fig14" destFigNode="Fig29" enclosingFig="LAYER_NULL" ~ Stage #dHealth : int #cost : int #requiredVillageLevel : int +getHealthChange() +getCost() +getRequiredVillageLevel() enclosingFig="LAYER_NULL" + gameobjects::Tile +x : int +y : int sourcePortFig="Fig34" destPortFig="Fig29" sourceFigNode="Fig34" destFigNode="Fig29" sourcePortFig="Fig29" destPortFig="Fig33" sourceFigNode="Fig29" destFigNode="Fig33" enclosingFig="LAYER_NULL" ~ DefenseStage #dDamge : int #dRange : int +getDamageChange() +getRangeChange() sourcePortFig="Fig37.0" destPortFig="Fig33" sourceFigNode="Fig37" destFigNode="Fig33" UserInterface enclosingFig="Fig39" + GuiManager enclosingFig="Fig28" + Player +currentGold : int +currentIron : int +currentWood : int Game sourcePortFig="Fig42.0" destPortFig="Fig39" sourceFigNode="Fig42" destFigNode="Fig39" enclosingFig="Fig42" + GameEngine enclosingFig="Fig42" + Map sourcePortFig="Fig45" destPortFig="Fig29" sourceFigNode="Fig45" destFigNode="Fig29" sourcePortFig="Fig44" destPortFig="Fig45" sourceFigNode="Fig44" destFigNode="Fig45" sourcePortFig="Fig0" destPortFig="Fig39" sourceFigNode="Fig0" destFigNode="Fig39" sourcePortFig="Fig28" destPortFig="Fig0" sourceFigNode="Fig28" destFigNode="Fig0" sourcePortFig="Fig39" destPortFig="Fig0" sourceFigNode="Fig39" destFigNode="Fig0" sourcePortFig="Fig42" destPortFig="Fig0" sourceFigNode="Fig42" 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"