GameLogic, Uml for levelLoader updated

This commit is contained in:
Sam Mario Svensson 2014-01-22 11:31:56 +01:00
parent c178ec34fd
commit 0443e753e8
1 changed files with 128 additions and 127 deletions

View File

@ -2,22 +2,14 @@
<diagram program="umlet" version="12.0"> <diagram program="umlet" version="12.0">
<zoom_level>8</zoom_level> <zoom_level>8</zoom_level>
<element> <element>
<type>com.umlet.element.Class</type> <type>com.umlet.element.Package</type>
<coordinates> <coordinates>
<x>560</x> <x>552</x>
<y>360</y> <y>320</y>
<w>232</w> <w>584</w>
<h>136</h> <h>368</h>
</coordinates> </coordinates>
<panel_attributes>LevelLoader <panel_attributes>LevelLoader</panel_attributes>
&lt;&lt;API&gt;&gt;&lt;Interface&gt;&gt;
--
Functions:
vector&lt;struct&gt; LoadLevel(String fileName);
-
Privates:
</panel_attributes>
<additional_attributes/> <additional_attributes/>
</element> </element>
<element> <element>
@ -43,19 +35,49 @@ Privates:
<panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes> <panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>120;24;120;88;24;88</additional_attributes> <additional_attributes>120;24;120;88;24;88</additional_attributes>
</element> </element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>560</x>
<y>544</y>
<w>232</w>
<h>136</h>
</coordinates>
<panel_attributes>&lt;&lt;Interface&gt;&gt;
Parser
--
Functions:
vector&lt;struct&gt; Parse();
-
Privates:
enum headerType;
const int FileHeaderSize;
const int FileVersion;
</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>624</x>
<y>208</y>
<w>80</w>
<h>24</h>
</coordinates>
<panel_attributes>LevelLoader
</panel_attributes>
<additional_attributes/>
</element>
<element> <element>
<type>com.umlet.element.Relation</type> <type>com.umlet.element.Relation</type>
<coordinates> <coordinates>
<x>544</x> <x>640</x>
<y>64</y> <y>208</y>
<w>136</w> <w>40</w>
<h>160</h> <h>168</h>
</coordinates> </coordinates>
<panel_attributes>lt=lt=-&gt;&gt;&gt;&gt; <panel_attributes>lt=&lt;&lt;.</panel_attributes>
m1=1..1 <additional_attributes>24;24;24;152</additional_attributes>
m2=1..1
Uses&gt;</panel_attributes>
<additional_attributes>24;40;80;40;120;40;120;144</additional_attributes>
</element> </element>
<element> <element>
<type>com.umlet.element.Relation</type> <type>com.umlet.element.Relation</type>
@ -72,71 +94,16 @@ m2=1..1
<additional_attributes>240;40;24;40</additional_attributes> <additional_attributes>240;40;24;40</additional_attributes>
</element> </element>
<element> <element>
<type>com.umlet.element.Relation</type> <type>com.umlet.element.Package</type>
<coordinates> <coordinates>
<x>680</x> <x>248</x>
<y>176</y> <y>320</y>
<w>152</w> <w>248</w>
<h>56</h> <h>160</h>
</coordinates> </coordinates>
<panel_attributes>lt=- <panel_attributes>Defines</panel_attributes>
m1=1..1
m2=1..1
Uses&gt;</panel_attributes>
<additional_attributes>24;40;136;40</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>816</x>
<y>192</y>
<w>128</w>
<h>40</h>
</coordinates>
<panel_attributes>Resource Loader
&lt;&lt;Dennis&gt;&gt;&lt;&lt;Singleton&gt;</panel_attributes>
<additional_attributes/> <additional_attributes/>
</element> </element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>656</x>
<y>472</y>
<w>40</w>
<h>88</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>24;72;24;24</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>256</x>
<y>360</y>
<w>232</w>
<h>104</h>
</coordinates>
<panel_attributes>Defines.h
&lt;&lt;Header file&gt;&gt;
--
Enum ObjectType(static, dynamic, specials);
.
Struct static;
Struct dynamic;
Struct specials</panel_attributes>
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>640</x>
<y>208</y>
<w>40</w>
<h>168</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;.</panel_attributes>
<additional_attributes>24;24;24;152</additional_attributes>
</element>
<element> <element>
<type>com.umlet.element.Class</type> <type>com.umlet.element.Class</type>
<coordinates> <coordinates>
@ -170,44 +137,59 @@ Privates:</panel_attributes>
<element> <element>
<type>com.umlet.element.Class</type> <type>com.umlet.element.Class</type>
<coordinates> <coordinates>
<x>560</x> <x>256</x>
<y>544</y> <y>360</y>
<w>232</w> <w>232</w>
<h>136</h> <h>104</h>
</coordinates> </coordinates>
<panel_attributes>&lt;&lt;Interface&gt;&gt; <panel_attributes>Defines.h
Parser &lt;&lt;Header file&gt;&gt;
-- --
Functions: Enum ObjectType(static, dynamic, specials);
vector&lt;struct&gt; Parse(); .
- Struct static;
Privates: Struct dynamic;
enum headerType; Struct specials</panel_attributes>
const int FileHeaderSize;
const int FileVersion;
</panel_attributes>
<additional_attributes/> <additional_attributes/>
</element> </element>
<element> <element>
<type>com.umlet.element.Package</type> <type>com.umlet.element.Relation</type>
<coordinates> <coordinates>
<x>248</x> <x>680</x>
<y>320</y> <y>176</y>
<w>248</w> <w>152</w>
<h>160</h> <h>56</h>
</coordinates> </coordinates>
<panel_attributes>Defines</panel_attributes> <panel_attributes>lt=-
m1=1..1
m2=1..1
Uses&gt;</panel_attributes>
<additional_attributes>24;40;136;40</additional_attributes>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>816</x>
<y>192</y>
<w>128</w>
<h>40</h>
</coordinates>
<panel_attributes>Resource Loader
&lt;&lt;Dennis&gt;&gt;&lt;&lt;Singleton&gt;</panel_attributes>
<additional_attributes/> <additional_attributes/>
</element> </element>
<element> <element>
<type>com.umlet.element.Package</type> <type>com.umlet.element.Class</type>
<coordinates> <coordinates>
<x>552</x> <x>928</x>
<y>320</y> <y>560</y>
<w>584</w> <w>200</w>
<h>368</h> <h>120</h>
</coordinates> </coordinates>
<panel_attributes>LevelLoader</panel_attributes> <panel_attributes>Collection of functions
&lt;&lt;lots of functions&gt;&gt;
--
functions for creating the right structs</panel_attributes>
<additional_attributes/> <additional_attributes/>
</element> </element>
<element> <element>
@ -227,27 +209,21 @@ Uses&gt;</panel_attributes>
<element> <element>
<type>com.umlet.element.Class</type> <type>com.umlet.element.Class</type>
<coordinates> <coordinates>
<x>624</x> <x>560</x>
<y>208</y> <y>360</y>
<w>80</w> <w>232</w>
<h>24</h> <h>136</h>
</coordinates> </coordinates>
<panel_attributes>LevelLoader <panel_attributes>LevelLoader
</panel_attributes> &lt;&lt;API&gt;&gt;&lt;Interface&gt;&gt;
<additional_attributes/>
</element>
<element>
<type>com.umlet.element.Class</type>
<coordinates>
<x>928</x>
<y>560</y>
<w>200</w>
<h>120</h>
</coordinates>
<panel_attributes>Collection of functions
&lt;&lt;lots of functions&gt;&gt;
-- --
functions for creating the right structs</panel_attributes> Functions:
vector&lt;struct&gt; LoadLevel(String fileName);
struct LoadLevelHeader(String fileName);
-
Privates:
</panel_attributes>
<additional_attributes/> <additional_attributes/>
</element> </element>
<element> <element>
@ -273,4 +249,29 @@ functions for creating the right structs</panel_attributes>
&lt;Uses</panel_attributes> &lt;Uses</panel_attributes>
<additional_attributes>24;24;24;64;72;64;72;152</additional_attributes> <additional_attributes>24;24;24;64;72;64;72;152</additional_attributes>
</element> </element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>656</x>
<y>472</y>
<w>40</w>
<h>88</h>
</coordinates>
<panel_attributes>lt=&lt;&lt;&lt;&lt;-</panel_attributes>
<additional_attributes>24;72;24;24</additional_attributes>
</element>
<element>
<type>com.umlet.element.Relation</type>
<coordinates>
<x>544</x>
<y>64</y>
<w>136</w>
<h>160</h>
</coordinates>
<panel_attributes>lt=lt=-&gt;&gt;&gt;&gt;
m1=1..1
m2=1..1
Uses&gt;</panel_attributes>
<additional_attributes>24;40;80;40;120;40;120;144</additional_attributes>
</element>
</diagram> </diagram>