aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-29 17:27:27 +0100
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-29 17:27:27 +0100
commit283aa3cd730856fab4614842c96290f2059d93c0 (patch)
tree7e0c761de01202af167b7c0da66f82c285ed0be9
parenta819194e10c8afd9108fa102f4c105b0556829f2 (diff)
parent0f1e2c876fe550862cb1201bf5cba9dc95707324 (diff)
Merge remote-tracking branch 'origin/master' into max/time
-rw-r--r--design.tex126
-rw-r--r--figs.drawio881
-rw-r--r--img/class-scripts.puml48
-rw-r--r--img/facade-audio.puml2
-rw-r--r--notulen/wk5-1.txt63
-rw-r--r--notulen/wk5-2.txt69
-rw-r--r--notulen/wk6-1.txt61
-rw-r--r--notulen/wk6-2.txt64
-rw-r--r--notulen/wk7-1.txt56
-rw-r--r--reqs.toml33
-rw-r--r--research.tex452
-rwxr-xr-xscripts/time2tex.py17
-rw-r--r--sources.bib11
-rw-r--r--time.txt42
14 files changed, 1769 insertions, 156 deletions
diff --git a/design.tex b/design.tex
index 7b232fe..08ea7cc 100644
--- a/design.tex
+++ b/design.tex
@@ -36,11 +36,133 @@ workflows.
\subsection{Scripting}
+The scripting interface was designed around a `target' \gls{api} (described by
+\cref{req:script:interface,req:script:user-class,req:script:direct-instance,req:script:direct-run}).
+An example of this \gls{api} is shown below:\noparbreak
+
+\begin{blockcode}
+class MyScript : public BehaviorScript {
+ void update() {
+ // update code here
+ }
+ // init() also exists, but is empty by default
+};
+
+{ // in scene initialization
+ GameObject & obj = ...;
+ obj.add_component<MyScript>();
+}
+\end{blockcode}
+
+The above call to \codeinline{GameObject::add_component} cannot work correctly
+without significantly increasing the complexity of the component manager, so the
+following restrictions were taken into account when creating the script system
+architecture:\noparbreak
+
+\begin{itemize}
+ \item The first template parameter passed to \codeinline{GameObject::add_component}
+ \emph{must} be a base `script \emph{component}' class, so each derived user
+ script class is instantiated in the same generic script list.
+ \item C++ does not allow passing types (i.e.~\codeinline{MyScript} in this case) as
+ function parameters, so a function call like
+ \codeinline{add_component<BehaviorScript>(MyScript)} cannot be realized.
+\end{itemize}
+
+\subsubsection{Architecture}
+
+The restrictions detailed at the start of this section are mitigated as
+follows:\noparbreak
+
+\begin{itemize}
+ \item User scripts are split into two classes---
+ \begin{enumerate}
+ \item a script \emph{interface} class (\codeinline{Script})
+ \item a script \emph{component} class (\codeinline{BehaviorScript})
+ \end{enumerate}
+ \item \codeinline{GameObject::add_component} receives the script \emph{component}
+ as template parameter
+ \item \codeinline{GameObject::add_component} now always returns a reference to the
+ component instance
+ \item The script component class has a setter function that takes a template
+ parameter for classes derived from the base script \emph{interface} class
+\end{itemize}
+
+\Cref{fig:class-scripts} shows the resulting structure as a class diagram. It
+contains the following classes:\noparbreak
+\begin{description}
+ \item[Script] This is the script \emph{interface}, and is used by the game
+ programmer to create derived script classes. All methods in this class are
+ declared virtual and have an empty implementation.
+
+ This class' methods are protected by default, and a friend relation to
+ \codeinline{ScriptSystem} is used to ensure only \codeinline{ScriptSystem} is
+ able to call these methods.
+
+ Only classes derived from \codeinline{Script} can be used with
+ \codeinline{BehaviorScript::set_script}'s template parameter \codeinline{T}. This
+ function returns a reference to the \codeinline{BehaviorScript} instance it was
+ called on so it can be chained after the call to
+ \codeinline{GameObject::add_component}.
+ \item[BehaviorScript]
+ This is the script \emph{component}, and is given as the template parameter to
+ \codeinline{GameObject::add_component}.
+
+ This class also uses a friend relation to \codeinline{ScriptSystem} to restrict
+ access to its private reference member \codeinline{script}.
+ \item[ScriptSystem] This is the system class that runs the methods implemented in
+ the derivative instances of \codeinline{Script}.
+\end{description}
+
+\begin{figure}
+ \centering
+ \includepumldiag{img/class-scripts.puml}
+ \caption{User script class diagram}
+ \label{fig:class-scripts}
+\end{figure}
+
\subsection{Audio}
-\subsubsection{Library}
+Since writing a custom real-time audio mixing engine is outside the scope of this
+project\mref and C++ does not provide a built-in cross-platform audio \gls{api}, the
+audio system inside the cr\^epe engine is implemented as a fa\c{c}ade around an
+existing audio library.
+
+\subsubsection{Libraries}
+\label{sec:audio:libs}
+
+This subsection compares various standalone audio libraries for suitability. After
+searching for libraries (search terms: `dynamic/adaptive audio', `real-time audio',
+`audio library', `game audio engine'), several libraries were found. These libraries
+were checked against the audio engine requirements \autocite{crepe:requirements} and
+then tested by writing the same benchmark-style \gls{poc} using the remaining
+qualifying libraries:\noparbreak
+\begin{enumerate}
+ \item Load a background track (Ogg Vorbis)
+ \item Load three short samples (WAV)
+ \item Start the background track
+ \item Play each sample sequentially while pausing and resuming the background track
+ \item Play all samples simultaniously
+ \item Stop all audio and exit
+\end{enumerate}
+
+Of these libraries the following were determined to be unsuitable for use in this
+project:\noparbreak
+\begin{description}
+ \item[FMOD \autocite{lib:fmod}] Is proprietary (violates \cref{req:lib:license}).
+ \item[PortAudio \autocite{lib:portaudio}] Does not handle mixing.
+ \item[miniaudio \autocite{lib:miniaudio}] Tested by implementing a \gls{poc}, but
+ dropped due to very limited codec support (WAV, MP3 and FLAC only); Also does not
+ have an \gls{api} reference (only programming manual).
+ \item[YSE \autocite{lib:yse}] Attempted to write \gls{poc}, but CMake configuration
+ in repository is broken; This project seems to have been abandoned.
+\end{description}
+
+The only library that remained after these tests is SoLoud \autocite{lib:soloud}. It
+is Zlib/LibPng licensed and provides a high-level object-oriented C++ \gls{api}.
+\Cref{sec:audio:architecture} describes the fa\c{c}ade written for this library.
-\subsubsection{Fa\c{c}ade}
+\subsubsection{Architecture}
+\label{sec:audio:architecture}
\Cref{fig:class-audio-facade} shows a class diagram of the audio fa\c{c}ade. It
contains the following classes:
diff --git a/figs.drawio b/figs.drawio
index 7c961d1..5082752 100644
--- a/figs.drawio
+++ b/figs.drawio
@@ -1,6 +1,6 @@
-<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8" pages="2">
+<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.8 Chrome/128.0.6613.36 Electron/32.0.1 Safari/537.36" version="24.7.8" pages="3">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Main diagram">
- <mxGraphModel dx="2577" dy="1035" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
+ <mxGraphModel dx="2062" dy="731" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
@@ -401,18 +401,21 @@
<mxGeometry y="68" width="160" height="17" as="geometry" />
</mxCell>
<mxCell id="PVU13nk45NJB4w4DQgDw-165" value="Component" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
- <mxGeometry x="410" y="82" width="160" height="68" as="geometry">
+ <mxGeometry x="414" y="70" width="160" height="85" as="geometry">
<mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="PVU13nk45NJB4w4DQgDw-166" value="+active: Boolean" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="PVU13nk45NJB4w4DQgDw-165" vertex="1">
<mxGeometry y="26" width="160" height="17" as="geometry" />
</mxCell>
+ <mxCell id="hOwEYaqcqL4qR9W6SRz6-1" value="+gameObjectId: uint32_t" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="PVU13nk45NJB4w4DQgDw-165" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
<mxCell id="PVU13nk45NJB4w4DQgDw-167" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="PVU13nk45NJB4w4DQgDw-165" vertex="1">
- <mxGeometry y="43" width="160" height="8" as="geometry" />
+ <mxGeometry y="60" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="PVU13nk45NJB4w4DQgDw-168" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="PVU13nk45NJB4w4DQgDw-165" vertex="1">
- <mxGeometry y="51" width="160" height="17" as="geometry" />
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
</mxCell>
<mxCell id="PVU13nk45NJB4w4DQgDw-169" value="Rigidbody" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="550" y="195" width="160" height="102" as="geometry">
@@ -434,7 +437,7 @@
<mxCell id="PVU13nk45NJB4w4DQgDw-172" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="PVU13nk45NJB4w4DQgDw-169" vertex="1">
<mxGeometry y="85" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="PVU13nk45NJB4w4DQgDw-175" value="BehaviourScript" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
+ <mxCell id="PVU13nk45NJB4w4DQgDw-175" value="BehaviorScript" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="690" y="316" width="160" height="85" as="geometry">
<mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
</mxGeometry>
@@ -497,7 +500,7 @@
<mxCell id="PVU13nk45NJB4w4DQgDw-189" value="+Stop()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="PVU13nk45NJB4w4DQgDw-185" vertex="1">
<mxGeometry y="68" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-4" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-138">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-4" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-138" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="320" y="510" as="sourcePoint" />
<mxPoint x="160" y="400" as="targetPoint" />
@@ -507,12 +510,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-9" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-4">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-9" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-4" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-16" y="-4" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-10" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-156">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-10" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-156" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="344" y="550" as="sourcePoint" />
<mxPoint x="179" y="358" as="targetPoint" />
@@ -522,12 +525,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-11" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-10">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-11" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-10" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-16" y="-4" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-12" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-160">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-12" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-160" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="354" y="560" as="sourcePoint" />
<mxPoint x="189" y="368" as="targetPoint" />
@@ -537,12 +540,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-13" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-12">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-13" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-12" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-16" y="-4" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-14" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-169">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-14" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-169" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="364" y="570" as="sourcePoint" />
<mxPoint x="199" y="378" as="targetPoint" />
@@ -552,12 +555,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-15" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-14">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-15" value="&lt;font color=&quot;#ff3333&quot;&gt;0..1&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-14" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-16" y="-26" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-16" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-175">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-16" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-175" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="374" y="580" as="sourcePoint" />
<mxPoint x="209" y="388" as="targetPoint" />
@@ -567,12 +570,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-17" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-16">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-17" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-16" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-12" y="-21" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-18" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-180">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-18" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-180" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="384" y="590" as="sourcePoint" />
<mxPoint x="219" y="398" as="targetPoint" />
@@ -582,12 +585,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-19" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-18">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-19" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-18" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-16" y="-45" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-20" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-185">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-20" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--6" target="PVU13nk45NJB4w4DQgDw-185" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="394" y="600" as="sourcePoint" />
<mxPoint x="229" y="408" as="targetPoint" />
@@ -597,12 +600,12 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-21" value="0..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-20">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-21" value="0..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-20" vertex="1" connectable="0">
<mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
<mxPoint x="-16" y="-50" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-24" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-185" target="PVU13nk45NJB4w4DQgDw-180">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-24" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-185" target="PVU13nk45NJB4w4DQgDw-180" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="960" y="439.38" as="sourcePoint" />
<mxPoint x="1220" y="440" as="targetPoint" />
@@ -611,17 +614,17 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-26" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-24">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-26" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-24" vertex="1" connectable="0">
<mxGeometry x="-0.7119" y="-1" relative="1" as="geometry">
<mxPoint x="-21" y="14" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-27" value="1..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="GgpaCZaR6PRI7i0rwrCe-24">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-27" value="1..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="GgpaCZaR6PRI7i0rwrCe-24" vertex="1" connectable="0">
<mxGeometry x="0.6214" y="-1" relative="1" as="geometry">
<mxPoint x="3" y="14" as="offset" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-28" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-138" target="PVU13nk45NJB4w4DQgDw-165">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-28" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-138" target="PVU13nk45NJB4w4DQgDw-165" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="203" y="770" as="sourcePoint" />
<mxPoint x="330" y="682" as="targetPoint" />
@@ -631,35 +634,35 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-29" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-152" target="PVU13nk45NJB4w4DQgDw-165">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-29" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-152" target="PVU13nk45NJB4w4DQgDw-165" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="380" y="358" as="sourcePoint" />
<mxPoint x="507" y="270" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-31" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-156" target="PVU13nk45NJB4w4DQgDw-152">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-31" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-156" target="PVU13nk45NJB4w4DQgDw-152" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="250" y="358" as="sourcePoint" />
<mxPoint x="377" y="270" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-32" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-160" target="PVU13nk45NJB4w4DQgDw-152">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-32" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-160" target="PVU13nk45NJB4w4DQgDw-152" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="320" y="460" as="sourcePoint" />
<mxPoint x="447" y="372" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-33" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-169" target="PVU13nk45NJB4w4DQgDw-165">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-33" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-169" target="PVU13nk45NJB4w4DQgDw-165" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="510" y="348" as="sourcePoint" />
<mxPoint x="637" y="260" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-34" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-175" target="PVU13nk45NJB4w4DQgDw-165">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-34" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-175" target="PVU13nk45NJB4w4DQgDw-165" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="600" y="436" as="sourcePoint" />
<mxPoint x="727" y="348" as="targetPoint" />
@@ -669,7 +672,7 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-36" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-180" target="PVU13nk45NJB4w4DQgDw-165">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-36" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-180" target="PVU13nk45NJB4w4DQgDw-165" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="920" y="140" as="sourcePoint" />
<mxPoint x="570" y="124" as="targetPoint" />
@@ -678,34 +681,820 @@
</Array>
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-37" value="ParticelSystem" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-37" value="ParticleSystem" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="950" y="620" width="160" height="68" as="geometry">
<mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-38" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="GgpaCZaR6PRI7i0rwrCe-37">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-38" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="GgpaCZaR6PRI7i0rwrCe-37" vertex="1">
<mxGeometry y="26" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-39" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" vertex="1" parent="GgpaCZaR6PRI7i0rwrCe-37">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-39" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="GgpaCZaR6PRI7i0rwrCe-37" vertex="1">
<mxGeometry y="43" width="160" height="8" as="geometry" />
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-40" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="GgpaCZaR6PRI7i0rwrCe-37">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-40" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="GgpaCZaR6PRI7i0rwrCe-37" vertex="1">
<mxGeometry y="51" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-45" value="PolygonCollider" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-45" value="PolygonCollider" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="950" y="718" width="160" height="68" as="geometry">
<mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-46" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="GgpaCZaR6PRI7i0rwrCe-45">
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-46" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="GgpaCZaR6PRI7i0rwrCe-45" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-47" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="GgpaCZaR6PRI7i0rwrCe-45" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="GgpaCZaR6PRI7i0rwrCe-48" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="GgpaCZaR6PRI7i0rwrCe-45" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="hOwEYaqcqL4qR9W6SRz6-0" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;fontColor=#FF0000;strokeColor=#fa0000;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-106" target="PVU13nk45NJB4w4DQgDw-165" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="970" y="175" as="sourcePoint" />
+ <mxPoint x="580" y="126" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="640" y="550" />
+ <mxPoint x="1260" y="550" />
+ <mxPoint x="1260" y="40" />
+ <mxPoint x="494" y="40" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="R9gNofyh4d_rq5U6zAVz-0" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="PVU13nk45NJB4w4DQgDw-185" target="PVU13nk45NJB4w4DQgDw-165">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="970" y="175" as="sourcePoint" />
+ <mxPoint x="620" y="130" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1240" y="361" />
+ <mxPoint x="1240" y="70" />
+ <mxPoint x="650" y="70" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ </root>
+ </mxGraphModel>
+ </diagram>
+ <diagram id="ehgrrEZq6aIl9GSG0JpL" name="Main diagram 2">
+ <mxGraphModel dx="1400" dy="828" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="3300" pageHeight="2339" math="0" shadow="0">
+ <root>
+ <mxCell id="0" />
+ <mxCell id="1" parent="0" />
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-1" value="GameObject" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="710" y="730" width="160" height="153" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-2" value="+name" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
<mxGeometry y="26" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-47" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" vertex="1" parent="GgpaCZaR6PRI7i0rwrCe-45">
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-3" value="+tag" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-4" value="+active" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-5" value="+layer" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="77" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-6" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="94" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-7" value="+AddComponent()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="102" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-8" value="+IsActiveInWorld()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="119" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-9" value="+IsActiveSelf()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;movable=0;resizable=0;deletable=0;editable=0;locked=1;connectable=0;" parent="5-8bWhzpOWirDYeo3-Cj-1" vertex="1">
+ <mxGeometry y="136" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-10" value="Scene" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="430" y="780" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-11" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-10" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-12" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-10" vertex="1">
<mxGeometry y="43" width="160" height="8" as="geometry" />
</mxCell>
- <mxCell id="GgpaCZaR6PRI7i0rwrCe-48" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="GgpaCZaR6PRI7i0rwrCe-45">
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-13" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-10" vertex="1">
<mxGeometry y="51" width="160" height="17" as="geometry" />
</mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-14" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-10" target="5-8bWhzpOWirDYeo3-Cj-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="650" y="770" as="sourcePoint" />
+ <mxPoint x="680" y="780" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="710" y="815" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-15" value="+contents" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-14" vertex="1" connectable="0">
+ <mxGeometry x="-0.1405" y="-1" relative="1" as="geometry">
+ <mxPoint y="-17" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-16" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-14" vertex="1" connectable="0">
+ <mxGeometry x="-0.7119" y="-1" relative="1" as="geometry">
+ <mxPoint y="14" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-17" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-14" vertex="1" connectable="0">
+ <mxGeometry x="0.6214" y="-1" relative="1" as="geometry">
+ <mxPoint x="3" y="14" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-18" value="Camera" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="430" y="950" width="160" height="102" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-19" value="+backgroundColor" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-18" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-20" value="+ascpectWidth" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-18" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-21" value="+ascpectHeight" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-18" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-22" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-18" vertex="1">
+ <mxGeometry y="77" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-23" value="-" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-18" vertex="1">
+ <mxGeometry y="85" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-24" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-18" target="5-8bWhzpOWirDYeo3-Cj-10" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="600" y="825" as="sourcePoint" />
+ <mxPoint x="530" y="850" as="targetPoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-25" value="+renderScene" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-24" vertex="1" connectable="0">
+ <mxGeometry x="-0.1405" y="-1" relative="1" as="geometry">
+ <mxPoint x="-41" y="-6" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-26" value="1..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-24" vertex="1" connectable="0">
+ <mxGeometry x="-0.7119" y="-1" relative="1" as="geometry">
+ <mxPoint x="-21" y="4" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-27" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-24" vertex="1" connectable="0">
+ <mxGeometry x="0.6214" y="-1" relative="1" as="geometry">
+ <mxPoint x="9" y="-9" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-28" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-18" target="5-8bWhzpOWirDYeo3-Cj-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="520" y="960" as="sourcePoint" />
+ <mxPoint x="680" y="860" as="targetPoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-29" value="UIObject" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="710" y="930" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-30" value="+width" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-29" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-31" value="+height" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-29" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-32" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-29" vertex="1">
+ <mxGeometry y="60" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-33" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-29" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-34" value="Button" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="620" y="1070" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-35" value="+interactable&#xa;" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-34" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-36" value="+onClick" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-34" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-37" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-34" vertex="1">
+ <mxGeometry y="60" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-38" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-34" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-39" value="Text" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="804" y="1070" width="160" height="136" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-40" value="+text" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-41" value="+font: String" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-42" value="+size: int" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-43" value="+allignment" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="77" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-44" value="+color" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="94" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-45" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="111" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-46" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-39" vertex="1">
+ <mxGeometry y="119" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-47" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-29" target="5-8bWhzpOWirDYeo3-Cj-1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="600" y="960" as="sourcePoint" />
+ <mxPoint x="720" y="868" as="targetPoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-48" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-34" target="5-8bWhzpOWirDYeo3-Cj-29" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="585" y="970" as="sourcePoint" />
+ <mxPoint x="774" y="1000" as="targetPoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-49" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-39" target="5-8bWhzpOWirDYeo3-Cj-29" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="595" y="980" as="sourcePoint" />
+ <mxPoint x="740" y="888" as="targetPoint" />
+ <Array as="points" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-50" value="" style="endArrow=open;html=1;rounded=0;strokeColor=default;align=center;verticalAlign=middle;fontFamily=Helvetica;fontSize=11;fontColor=default;labelBackgroundColor=default;resizable=1;endFill=0;endSize=8;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="870" y="830" as="sourcePoint" />
+ <mxPoint x="870" y="870" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="910" y="830" />
+ <mxPoint x="910" y="870" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-51" value="+parent &amp;gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-50" vertex="1" connectable="0">
+ <mxGeometry x="-0.719" y="3" relative="1" as="geometry">
+ <mxPoint x="13" y="-4" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-52" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-50" vertex="1" connectable="0">
+ <mxGeometry x="-0.0905" y="1" relative="1" as="geometry">
+ <mxPoint x="-31" y="-5" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-53" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-50" vertex="1" connectable="0">
+ <mxGeometry y="1" relative="1" as="geometry">
+ <mxPoint x="-21" y="30" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;endArrow=diamondThin;endFill=1;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-56" target="5-8bWhzpOWirDYeo3-Cj-174" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-55" value="1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-54" vertex="1" connectable="0">
+ <mxGeometry x="-0.9593" y="-3" relative="1" as="geometry">
+ <mxPoint x="-7" y="-6" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-56" value="Transform" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1460" y="265" width="160" height="102" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-57" value="+position" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-56" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-58" value="+rotation" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-56" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-59" value="+scale" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-56" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-60" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-56" vertex="1">
+ <mxGeometry y="77" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-61" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-56" vertex="1">
+ <mxGeometry y="85" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-62" value="iMouseListener" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1030" y="1070" width="160" height="119" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-63" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-62" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-64" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-62" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-65" value="+OnMouseMoved()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-62" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-66" value="+OnMouseClicked()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-62" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-67" value="+OnMousePressed()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-62" vertex="1">
+ <mxGeometry y="85" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-68" value="+OnMouseReleased()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-62" vertex="1">
+ <mxGeometry y="102" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-69" value="iKeyListener" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1230" y="1070" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-70" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-69" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-71" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-69" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-72" value="+OnKeyPressed()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-69" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-73" value="+OnKeyReleased()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-69" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-74" value="Color" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="190" y="950" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-75" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-74" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-76" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-74" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-77" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-74" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-78" value="Point" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="190" y="840" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-79" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-78" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-80" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-78" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-81" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-78" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-82" value="Debug" style="shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;" parent="1" vertex="1">
+ <mxGeometry x="190" y="750" width="70" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-83" value="Time" style="shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;" parent="1" vertex="1">
+ <mxGeometry x="190" y="680" width="70" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-84" value="Input" style="shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;" parent="1" vertex="1">
+ <mxGeometry x="190" y="610" width="70" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-85" value="AudioSource" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="240" y="282" width="160" height="136" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-86" value="+audioClip: Resource*" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontColor=#ff0000;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-87" value="+playOnAwake: Boolean" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-88" value="+loop: Boolean" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-89" value="+volume" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="77" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-90" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="94" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-91" value="+Play(looping)" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="102" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-92" value="+Stop()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-85" vertex="1">
+ <mxGeometry y="119" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-93" value="Collider" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="520" y="282" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-94" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-93" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-95" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-93" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-96" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-93" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-97" value="CircleCollider" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="430" y="388" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-98" value="+radius" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-97" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-99" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-97" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-100" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-97" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-101" value="BoxCollider" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="624" y="386" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-102" value="+width" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-101" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-103" value="+height" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-101" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-104" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-101" vertex="1">
+ <mxGeometry y="60" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-105" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-101" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-106" value="Component" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="804" y="140" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-107" value="+active: Boolean" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-106" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-108" value="+gameObjectId: uint32_t" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-106" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-109" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-106" vertex="1">
+ <mxGeometry y="60" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-110" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-106" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-111" value="Rigidbody" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="760" y="265" width="160" height="102" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-112" value="+mass" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-111" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-113" value="+gravityScale" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-111" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-114" value="+bodyType" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-111" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-115" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-111" vertex="1">
+ <mxGeometry y="77" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-116" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-111" vertex="1">
+ <mxGeometry y="85" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-117" value="BehaviorScript" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="940" y="383" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-118" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-117" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-119" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-117" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-120" value="+OnStart()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-117" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-121" value="+OnUpdate()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-117" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-122" value="Sprite" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1110" y="230" width="160" height="153" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-123" value="+sprite:Resource*" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontColor=#ff0000;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-124" value="+color" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="43" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-125" value="+flipX" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="60" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-126" value="+flipY" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="77" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-127" value="+sortingLayer" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="94" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-128" value="+orderInLayer" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="111" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-129" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="128" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-130" value="+Render()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-122" vertex="1">
+ <mxGeometry y="136" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-131" value="Animator" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1280" y="383" width="160" height="85" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-132" value="+fps" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-131" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-133" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-131" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-134" value="+Play(looping)" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-131" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-135" value="+Stop()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-131" vertex="1">
+ <mxGeometry y="68" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-136" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=0;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-85" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="710" y="700" as="sourcePoint" />
+ <mxPoint x="550" y="590" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="320" y="615" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-137" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-136" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-16" y="-4" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-138" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=0;exitY=0.25;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-97" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="700" y="590" as="sourcePoint" />
+ <mxPoint x="569" y="548" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="510" y="588" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-139" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-138" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-16" y="-4" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-140" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=0.25;exitY=0;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-101" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="744" y="750" as="sourcePoint" />
+ <mxPoint x="579" y="558" as="targetPoint" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-141" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-140" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-16" y="-4" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-142" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=0.5;exitY=0;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-111" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="754" y="760" as="sourcePoint" />
+ <mxPoint x="589" y="568" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="790" y="490" />
+ <mxPoint x="840" y="490" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-143" value="&lt;font color=&quot;#ff3333&quot;&gt;0..1&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-142" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-16" y="-11" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-144" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=0.75;exitY=0;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-117" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="764" y="770" as="sourcePoint" />
+ <mxPoint x="599" y="578" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="825" y="520" />
+ <mxPoint x="1020" y="520" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-145" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-144" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-12" y="-21" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-146" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=1;exitY=0.25;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-122" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="774" y="780" as="sourcePoint" />
+ <mxPoint x="609" y="588" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1190" y="588" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-147" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-146" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-16" y="-45" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-148" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;edgeStyle=orthogonalEdgeStyle;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#FF0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-131" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="700" y="610" as="sourcePoint" />
+ <mxPoint x="619" y="598" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1360" y="615" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-149" value="0..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-148" vertex="1" connectable="0">
+ <mxGeometry x="0.8037" y="-2" relative="1" as="geometry">
+ <mxPoint x="-16" y="-50" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-150" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-131" target="5-8bWhzpOWirDYeo3-Cj-122" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="1190" y="504.38" as="sourcePoint" />
+ <mxPoint x="1450" y="505" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1360" y="305" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-151" value="0..1" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-150" vertex="1" connectable="0">
+ <mxGeometry x="-0.7119" y="-1" relative="1" as="geometry">
+ <mxPoint x="-21" y="14" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-152" value="1..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="5-8bWhzpOWirDYeo3-Cj-150" vertex="1" connectable="0">
+ <mxGeometry x="0.6214" y="-1" relative="1" as="geometry">
+ <mxPoint x="3" y="14" as="offset" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-153" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-85" target="5-8bWhzpOWirDYeo3-Cj-106" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="593" y="840" as="sourcePoint" />
+ <mxPoint x="720" y="752" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="320" y="180" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-154" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-93" target="5-8bWhzpOWirDYeo3-Cj-106" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="770" y="428" as="sourcePoint" />
+ <mxPoint x="897" y="340" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="600" y="210" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-155" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="549.9999999999998" y="388" as="sourcePoint" />
+ <mxPoint x="549.9999999999998" y="350.0000000000002" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="550" y="380" />
+ <mxPoint x="550" y="380" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-156" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-101" target="5-8bWhzpOWirDYeo3-Cj-93" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="530" y="530" as="sourcePoint" />
+ <mxPoint x="657" y="442" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="650" y="370" />
+ <mxPoint x="650" y="370" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-157" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-111" target="5-8bWhzpOWirDYeo3-Cj-106" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="900" y="418" as="sourcePoint" />
+ <mxPoint x="1027" y="330" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="870" y="250" />
+ <mxPoint x="870" y="250" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-158" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-117" target="5-8bWhzpOWirDYeo3-Cj-106" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="990" y="506" as="sourcePoint" />
+ <mxPoint x="1117" y="418" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1020" y="220" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-159" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-122" target="5-8bWhzpOWirDYeo3-Cj-106" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="1310" y="210" as="sourcePoint" />
+ <mxPoint x="960" y="194" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1190" y="190" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-160" value="ParticleSystem" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1340" y="810" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-161" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-160" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-162" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-160" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-163" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-160" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-164" value="PolygonCollider" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
+ <mxGeometry x="1340" y="908" width="160" height="68" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-165" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-164" vertex="1">
+ <mxGeometry y="26" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-166" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="5-8bWhzpOWirDYeo3-Cj-164" vertex="1">
+ <mxGeometry y="43" width="160" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-167" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="5-8bWhzpOWirDYeo3-Cj-164" vertex="1">
+ <mxGeometry y="51" width="160" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-168" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;fontColor=#FF0000;strokeColor=#fa0000;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-56" target="5-8bWhzpOWirDYeo3-Cj-106" edge="1">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="1360" y="365" as="sourcePoint" />
+ <mxPoint x="970" y="316" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1540" y="150" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-169" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=open;endFill=0;strokeColor=#0000FF;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-170" target="5-8bWhzpOWirDYeo3-Cj-1" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-170" value="ComponentManager" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;fontColor=#0000FF;strokeColor=#0000FF;" parent="1" vertex="1">
+ <mxGeometry x="720" y="560" width="140" height="110" as="geometry">
+ <mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
+ </mxGeometry>
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-171" value="+components" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontFamily=Helvetica;fontSize=12;fontColor=#0000FF;strokeColor=none;" parent="5-8bWhzpOWirDYeo3-Cj-170" vertex="1">
+ <mxGeometry y="26" width="140" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-172" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontColor=#0000FF;strokeColor=#0000FF;" parent="5-8bWhzpOWirDYeo3-Cj-170" vertex="1">
+ <mxGeometry y="43" width="140" height="8" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-173" value="+AddComponent()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontColor=#0000FF;strokeColor=none;" parent="5-8bWhzpOWirDYeo3-Cj-170" vertex="1">
+ <mxGeometry y="51" width="140" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-174" value="+DeleteComponent()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontColor=#0000FF;strokeColor=none;" parent="5-8bWhzpOWirDYeo3-Cj-170" vertex="1">
+ <mxGeometry y="68" width="140" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-175" value="+GetComponent()" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;fontColor=#0000FF;strokeColor=none;" parent="5-8bWhzpOWirDYeo3-Cj-170" vertex="1">
+ <mxGeometry y="85" width="140" height="17" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-176" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=open;startFill=0;endArrow=none;endFill=0;strokeColor=#0000FF;" parent="1" source="5-8bWhzpOWirDYeo3-Cj-177" target="5-8bWhzpOWirDYeo3-Cj-174" edge="1">
+ <mxGeometry relative="1" as="geometry" />
+ </mxCell>
+ <mxCell id="5-8bWhzpOWirDYeo3-Cj-177" value="&lt;font color=&quot;#0000ff&quot;&gt;Systems&lt;/font&gt;" style="shape=folder;fontStyle=1;spacingTop=10;tabWidth=40;tabHeight=14;tabPosition=left;html=1;whiteSpace=wrap;strokeColor=#0000FF;" parent="1" vertex="1">
+ <mxGeometry x="520" y="645" width="70" height="40" as="geometry" />
+ </mxCell>
+ <mxCell id="3iqK6Q-Owgr1maHwc76Q-3" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="5-8bWhzpOWirDYeo3-Cj-131" target="5-8bWhzpOWirDYeo3-Cj-106">
+ <mxGeometry width="50" height="50" relative="1" as="geometry">
+ <mxPoint x="1200" y="240" as="sourcePoint" />
+ <mxPoint x="974" y="200" as="targetPoint" />
+ <Array as="points">
+ <mxPoint x="1400" y="170" />
+ </Array>
+ </mxGeometry>
+ </mxCell>
</root>
</mxGraphModel>
</diagram>
@@ -714,42 +1503,42 @@
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
- <mxCell id="rDWCdEblCpn9XmIhacVI-1" value="example&#xa;" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" vertex="1" parent="1">
+ <mxCell id="rDWCdEblCpn9XmIhacVI-1" value="example&#xa;" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;direction=east;" parent="1" vertex="1">
<mxGeometry x="160" y="70" width="160" height="68" as="geometry">
<mxRectangle x="330" y="540" width="160" height="26" as="alternateBounds" />
</mxGeometry>
</mxCell>
- <mxCell id="rDWCdEblCpn9XmIhacVI-2" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="rDWCdEblCpn9XmIhacVI-1">
+ <mxCell id="rDWCdEblCpn9XmIhacVI-2" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="rDWCdEblCpn9XmIhacVI-1" vertex="1">
<mxGeometry y="26" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="rDWCdEblCpn9XmIhacVI-3" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" vertex="1" parent="rDWCdEblCpn9XmIhacVI-1">
+ <mxCell id="rDWCdEblCpn9XmIhacVI-3" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=1;labelPosition=right;points=[];portConstraint=eastwest;fontSize=12;perimeterSpacing=0;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;verticalLabelPosition=middle;" parent="rDWCdEblCpn9XmIhacVI-1" vertex="1">
<mxGeometry y="43" width="160" height="8" as="geometry" />
</mxCell>
- <mxCell id="rDWCdEblCpn9XmIhacVI-4" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="rDWCdEblCpn9XmIhacVI-1">
+ <mxCell id="rDWCdEblCpn9XmIhacVI-4" style="text;align=left;verticalAlign=bottom;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=1;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rounded=0;shadow=0;html=0;strokeWidth=1;horizontal=1;movable=1;resizable=1;deletable=1;editable=1;locked=0;connectable=1;" parent="rDWCdEblCpn9XmIhacVI-1" vertex="1">
<mxGeometry y="51" width="160" height="17" as="geometry" />
</mxCell>
- <mxCell id="INcigVm9b0TAH9v99pnO-1" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" edge="1" parent="1">
+ <mxCell id="INcigVm9b0TAH9v99pnO-1" value="" style="endArrow=block;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;strokeWidth=1;endSize=14;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="200" y="200" as="sourcePoint" />
<mxPoint x="160" y="160" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="BdnN9X1UdPwwrvRyySie-1" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" edge="1" parent="1">
+ <mxCell id="BdnN9X1UdPwwrvRyySie-1" value="" style="endArrow=none;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;startArrow=diamondThin;startFill=1;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="280" y="200" as="sourcePoint" />
<mxPoint x="240" y="160" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="wr2JkJuTEkJ5C-UpQk8J-1" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" edge="1" parent="1">
+ <mxCell id="wr2JkJuTEkJ5C-UpQk8J-1" value="" style="endArrow=open;html=1;rounded=0;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;endFill=0;endSize=8;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="360" y="200" as="sourcePoint" />
<mxPoint x="320" y="160" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
- <mxCell id="oRUFz-RLu-avQMRJHf4n-1" value="" style="endArrow=none;html=1;rounded=0;" edge="1" parent="1">
+ <mxCell id="oRUFz-RLu-avQMRJHf4n-1" value="" style="endArrow=none;html=1;rounded=0;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="440" y="200" as="sourcePoint" />
<mxPoint x="400" y="160" as="targetPoint" />
diff --git a/img/class-scripts.puml b/img/class-scripts.puml
new file mode 100644
index 0000000..8fc36c9
--- /dev/null
+++ b/img/class-scripts.puml
@@ -0,0 +1,48 @@
+@startuml
+!include theme.ipuml
+skinparam Linetype ortho
+skinparam Nodesep 75
+skinparam Ranksep 30
+
+class ComponentManager <<irrelevant>>
+
+package api {
+ class Component <<irrelevant>>
+
+ class Script {
+ # init() <<virtual>>
+ # update() <<virtual>>
+ --
+ - Script()
+ }
+
+ class BehaviorScript {
+ # BehaviorScript()
+ + ~BehaviorScript()
+ --
+ + set_script<T>() : this &
+ --
+ # script : Script *
+ }
+
+ BehaviorScript -u-|> Component
+ Script .u.> BehaviorScript
+}
+
+class System <<irrelevant>>
+class ScriptSystem <<Singleton>> {
+ + get_instance() : ScriptSystem & <<static>>
+ + update()
+ --
+ - ScriptSystem()
+ - ~ScriptSystem()
+}
+
+System <|-- ScriptSystem
+ScriptSystem .[norank]> ComponentManager
+
+ScriptSystem .[norank]> api.Script : < friend
+ScriptSystem .[norank]> api.BehaviorScript : < friend
+ComponentManager .[norank]> api.BehaviorScript : < friend
+
+@enduml
diff --git a/img/facade-audio.puml b/img/facade-audio.puml
index 60af60f..d3e732b 100644
--- a/img/facade-audio.puml
+++ b/img/facade-audio.puml
@@ -1,5 +1,5 @@
@startuml
-!include theme.ipuml
+!include ../img/theme.ipuml
skinparam Linetype ortho
package crepe {
diff --git a/notulen/wk5-1.txt b/notulen/wk5-1.txt
new file mode 100644
index 0000000..2e6064a
--- /dev/null
+++ b/notulen/wk5-1.txt
@@ -0,0 +1,63 @@
+ Documents
+ Research Document
+ Continue adding research information
+ Project plan
+ -
+ Document standard
+ Add updates when needed
+ Requirement
+ physics sub-requirements -> Jaro write document
+ eventmanager sub-requirements -> Wouter write document
+ gameloop sub-requirements -> Wouter write document
+ ecs sub-requirements
+ particles sub-requirement
+ resourceManager sub-requirement -> Niels write document
+ rendering sub-requirement
+ design document
+ Discussing top-down
+ Game design
+ -
+ Git
+ Code standard -> LOEK update
+ Show updates
+ Getter and setter wil get: 'set' and 'get'
+ namespace/ using namespace
+
+ Environments
+ -
+ Research (POC)
+ research eventmanager -> Wouter POC
+ resource manager -> Niels POC check datatype for conversion
+ start research renderer
+ start research scripting
+ [closed] start research debugging
+ [closed] start research gameobject
+ start research physics Starting POC -> Jaro
+ [closed] Discussed functional physics requirements
+ More research about physics
+ research ecs -> Max POC(showed poc design must change asked customer if design can change)
+ start research particles Starting research -> Jaro (LOEK is sterk tegen particles in physics system omdat loek geen vloeistof wilt)
+ Design
+ discussed class diagram
+ one instance of rigidbody and collider
+ Gameobject is not the owner of the component but the manager is
+ and one component type per gameobject.
+ Functions within a model can they change?
+ [closed] Adding design audio
+ Adding design resource manager -> niels met LOEK overleggen
+ Adding design gameloop + eventmanager -> Wouter toevoegen
+ Product
+ Creating 3rd party tool facade audio -> LOEK verder werken
+ Api class diagram to c++ will wait until some design changes
+ Test
+ Add unit test for audio (wait on api)
+ Discuss about what to test (wait on api)
+ Question Bob
+ Mail (waiting on mail for KD)
+ Tell where these documents are located -> jaro
+
+
+
+
+
+
diff --git a/notulen/wk5-2.txt b/notulen/wk5-2.txt
new file mode 100644
index 0000000..3da0849
--- /dev/null
+++ b/notulen/wk5-2.txt
@@ -0,0 +1,69 @@
+ Documents
+ Research Document
+ Continue adding research information
+ Project plan
+ -
+ Document standard
+ Add updates when needed
+ Requirement
+ physics sub-requirements -> Jaro write document
+ eventmanager sub-requirements -> Wouter write document
+ gameloop sub-requirements -> Wouter write document
+ ecs sub-requirements
+ particles sub-requirement -> Jaro write document
+ resourceManager sub-requirement -> Niels write document
+ rendering sub-requirement
+ design document
+ Discussing top-down
+ Game design
+ -
+ Git
+ Code standard -> LOEK update
+ Show updates
+ [closed] Getter and setter wil get: 'set' and 'get'
+ namespace/ using namespace
+ Environments
+ -
+ Research (POC)
+ research eventmanager -> Wouter POC (goede voortgang)
+ resource manager -> Niels POC check datatype for conversion (na meeting afgerond) alleen implementatie tiled
+ start research ui -> wouter
+ start research ai
+ start research savedata -> loek
+ start research renderer -> niels (kleine start)
+ start research scripting -> loek
+ start research debugging (los staande profilers, toevoegen timers voor profilers?)
+ start research physics Starting POC -> Jaro
+ More research about physics
+ Question customer about physics requirements
+ start reasearch collsion detection -> Jaro
+ research ecs -> Max POC
+ start research particles Starting research -> Jaro (LOEK is sterk tegen particles in physics system omdat loek geen vloeistof wilt)
+ Design
+ [closed] discussed class diagram
+ one instance of rigidbody and collider
+ Gameobject is not the owner of the component but the manager is
+ and one component type per gameobject.
+ Functions within a model can they change
+ Adding design asset class -> niels
+ Adding design resource holder -> niels
+ [closed] Adding design gameloop -> Wouter toevoegen
+ Discuss facade design.
+ Who is owner of which facade instancies?
+ who is owner of what?
+ How does a game designer make a scene?
+ [closed] resourceManager discuss design.
+ review design document (loeks features) -> Wouter
+ Product
+ [closed] Creating 3rd party tool facade audio -> LOEK verder werken
+ Api class diagram to c++
+ Test
+ Add unit test for audio (do we want unit tests)
+ Discuss about what to test (wait on api)
+ Change location tests -> loek
+ Question Bob
+ Tell where these documents are located -> jaro
+ Question customer about physics requirements
+ functions in components (setter)
+ We ondersteunen toetsenbord en muis.
+
diff --git a/notulen/wk6-1.txt b/notulen/wk6-1.txt
new file mode 100644
index 0000000..142b2e0
--- /dev/null
+++ b/notulen/wk6-1.txt
@@ -0,0 +1,61 @@
+ Documents
+ Research Document
+ Continue adding research information
+ Project plan
+ -
+ Document standard
+ Add updates when needed
+ Requirement
+ physics sub-requirements -> Jaro write document
+ eventmanager sub-requirements -> Wouter write document
+ gameloop sub-requirements -> Wouter write document
+ ecs sub-requirements
+ particles sub-requirement -> Jaro write document
+ resourceManager sub-requirement -> Niels write document
+ rendering sub-requirement
+ design document
+ Discussing top-down
+ Game design
+ -
+ Git
+ Code standard -> LOEK update
+ Show updates
+ [closed] namespace/ using namespace
+
+ Environments
+ -
+ Research (POC)
+ research eventmanager -> Wouter POC (goede voortgang)
+ resource manager -> Niels POC check datatype for conversion (na meeting afgerond) alleen implementatie tiled
+ start research ui -> wouter
+ start research ai
+ start research savedata -> loek
+ start research renderer -> niels (kleine start)
+ start research scripting -> loek
+ start research debugging (los staande profilers, toevoegen timers voor profilers?)
+ start research physics Starting POC -> Jaro
+ More research about physics
+ [closed] Question customer about physics requirements
+ start reasearch collsion detection -> Jaro
+ research ecs -> Max POC (change in design of ecs. moved components after each other in memory to increase efficiency.) loek/scripts branch voor ecs.
+ start research particles Starting research -> Jaro (start lifetime. spawning area)
+ Design
+ Adding design asset class -> niels
+ Adding design resource holder -> niels
+ [closed] Adding design gameloop -> Wouter toevoegen
+ Discuss facade design.
+ Who is owner of which facade instancies?
+ who is owner of what?
+ How does a game designer make a scene?
+ [closed] resourceManager discuss design.
+ review design document (loeks features) -> Wouter
+ Product
+ [closed] Creating 3rd party tool facade audio -> LOEK verder werken
+ Api class diagram to c++
+ Test
+ [closed] Add unit test for audio (do we want unit tests)
+ Discuss about what to test (wait on api) testen uitgebreid als je wilt maar mag niet teveel tijd kosten en moet nuttig zijn.
+ [closed] Change location tests -> loek
+ Question Bob
+ -
+
diff --git a/notulen/wk6-2.txt b/notulen/wk6-2.txt
new file mode 100644
index 0000000..36751b6
--- /dev/null
+++ b/notulen/wk6-2.txt
@@ -0,0 +1,64 @@
+ Documents
+ Research Document
+ Continue adding research information
+ Project plan
+ -
+ Document standard
+ Add updates when needed
+ Requirement
+ physics sub-requirements -> Jaro write document
+ eventmanager sub-requirements -> Wouter write document
+ gameloop sub-requirements -> Wouter write document
+ ecs sub-requirements
+ particles sub-requirement -> Jaro write document
+ resourceManager sub-requirement -> Niels write document
+ rendering sub-requirement
+ design document
+ Discussing top-down
+ Game design
+ -
+ Git
+ Code standard -> LOEK update
+ Show updates
+ Code standard with examples not in main?
+ POC can/should be made in Example.
+ Code that performs POC should be as the code standard so it can be easy to understand and copied if needed.
+
+ Environments
+ -
+ Research (POC)
+ research eventmanager -> Wouter POC (goede voortgang) knoppen uitlezen
+ resource manager -> Niels POC check datatype for conversion (na meeting afgerond) alleen implementatie tiled
+ start research ui -> wouter
+ start research ai
+ start research savedata -> loek
+ start research renderer -> niels (sprite & color & transform) POC simple (SDL_GPU voor efficiency verbetering)
+ start research scripting -> loek
+ start research debugging (los staande profilers, toevoegen timers voor profilers?)
+ start research physics Starting POC -> Jaro
+ More research about physics
+ [closed] Question customer about physics requirements
+ start reasearch collsion detection -> Jaro
+ research ecs -> Max POC add detecting if a component exists.
+ start research particles Starting research -> Jaro (start lifetime. spawning area)
+ Design
+ Adding design asset class -> niels
+ Adding design resource holder -> niels
+ [closed] Adding design gameloop -> Wouter toevoegen
+ [closed] Discuss facade design.
+ [closed] Who is owner of which facade instancies?
+ [closed] who is owner of what?
+ How does a game designer make a scene?
+ [closed] resourceManager discuss design.
+ [closed] review design document (loeks features) -> Wouter
+ Product
+ [closed] Api class diagram to c++
+ Test
+ -
+ Question Bob
+ animator heeft 1 sprite sheet (1 sprite) animator sprite relatie
+ sprite sheet staat altijd in leesvolgorde
+ Overig
+ Presentatie maken -> Jaro
+
+
diff --git a/notulen/wk7-1.txt b/notulen/wk7-1.txt
new file mode 100644
index 0000000..2462a37
--- /dev/null
+++ b/notulen/wk7-1.txt
@@ -0,0 +1,56 @@
+ Documents
+ Research Document
+ Continue adding research information
+ Project plan
+ -
+ Document standard
+ Add updates when needed
+ Requirement
+ physics sub-requirements -> Jaro write document
+ eventmanager sub-requirements -> Wouter write document
+ gameloop sub-requirements -> Wouter write document
+ ecs sub-requirements
+ particles sub-requirement -> Jaro write document
+ resourceManager sub-requirement -> Niels write document
+ rendering sub-requirement
+ design document
+ Discussing top-down
+ Game design
+ -
+ Git
+ Code standard -> LOEK update
+ Show updates
+ Code standard with examples not in main? -> niels
+ Environments
+ -
+ Research (POC)
+ research eventmanager -> Wouter POC (goede voortgang) knoppen uitlezen
+ resource manager -> Niels POC check datatype for conversion (na meeting afgerond) alleen implementatie tiled
+ start research ui -> wouter
+ start research ai
+ start research savedata -> loek
+ start research renderer -> niels (sprite & color & transform) POC simple (SDL_GPU voor efficiency verbetering)
+ start research scripting -> loek
+ [closed] start research debugging (los staande profilers, toevoegen timers voor profilers?)
+ start research physics Starting POC -> Jaro
+ More research about physics
+ start reasearch collision detection -> Jaro
+ research ecs -> Loek will add fix for derived class for scripts
+ start research particles Starting research -> Jaro (start lifetime. spawning area)
+ Design
+ Adding design asset class -> niels
+ Adding design resource holder -> niels
+ How does a game designer make a scene?
+ Product
+ -
+ Test
+ -
+ Question Bob
+ animator heeft 1 sprite sheet (1 sprite) animator sprite relatie (gevraagd)
+ sprite sheet staat altijd in leesvolgorde (gevraagd)
+ mag de API gewoon een interface worden voor wat onderliggend een ECS is.
+ Overig
+ Timers voor systems
+ 8 uur per groepsgenoot deze week door drukte.
+
+
diff --git a/reqs.toml b/reqs.toml
index ed0b451..a83208e 100644
--- a/reqs.toml
+++ b/reqs.toml
@@ -84,3 +84,36 @@ Windows.
# TODO: library documentation as quality factor?
# TODO: modularity over less libraries? (i.e. why don't we just SDL2 everything?)
+[script:interface]
+type = 'system'
+priority = 'must'
+description = '''
+There is a base \codeinline{Script} class that has empty default
+implementations for functions that may be implemented by the game programmer.
+'''
+
+[script:user-class]
+type = 'system'
+priority = 'must'
+description = '''
+The game programmer implements scripts by creating classes derived from the
+\codeinline{Script} class.
+'''
+
+[script:direct-instance]
+type = 'system'
+priority = 'must'
+description = '''
+Unless explicitly changed by the game programmer, derived script classes cannot
+be instantiated directly, and must be instantiated by the component manager.
+'''
+
+[script:direct-run]
+type = 'system'
+priority = 'must'
+description = '''
+Unless explicitly changed by the game programmer, methods on instances of
+\codeinline{Script} (and derivative) classes cannot be called directly, and
+must be called by the script system.
+'''
+
diff --git a/research.tex b/research.tex
index 1b8a5ab..5dd01a6 100644
--- a/research.tex
+++ b/research.tex
@@ -6,7 +6,7 @@
\tablestables
\newpage
-\section{Introduction}
+% \section{Introduction}
\section{Game engine}
@@ -53,7 +53,7 @@ layers are divided into the following categories:\noparbreak
The above mentioned layers should be structured, somehow. One of the requirements is
that the game engine's API uses a so-called gameObject (with one or more
component(s)). The gameObject is described in more detail at
-\cref{sec:Gameobjects/components}.
+\cref{sec:gameobjects-components}.
There are multiple structures that could be used to structure a game engine. It's of
course possible to use inheritance. A major disadvantages of inheritance is that it's
@@ -81,8 +81,8 @@ harder \autocite{man:DecoratorDesignPattern}.
\label{fig:decorator}
\end{figure}
-The Extension Objects design pattern (as shown in \cref{fig:extension objects}) could
-also be used to structure the game engine. The Extension Objects design pattern
+The \emph{extension objects} design pattern (as shown in \cref{fig:dp:ext-objs})
+could also be used to structure the game engine. The extension objects design pattern
allows to modify an object's propperties/behavior by adding one (or more) Extensions.
The object that is modified, could be the gameObject and the components could be the
Extensions. This is quite the same as the required API. An advantage is, that the
@@ -92,7 +92,7 @@ for the sprite Extension and the method \codeinline{update()} for the script
Extension). In other words, the interfaces of the different Extensions should not be
the same. This is way more flexible than the Decorator design pattern. A disadvantage
is that the data and functionality are in the same class (namely inside the Extion's
-methods), so it's not sepperated. Another disadvantage is that the Extension Objects
+methods), so it's not sepperated. Another disadvantage is that the extension objects
design pattern can be quite slow, because objects are scattered in memory (and it is
very hard to quickly get their memory address)
\autocite{man:ExtensionObjectDesignPattern, man:extionsionObjectsStackOverflow}.
@@ -100,9 +100,9 @@ very hard to quickly get their memory address)
\begin{figure}
\centering
\includegraphics[width=0.5\textwidth]{img/ExtensionObjects.jpg}
- \caption{Extension Objects design pattern}
+ \caption{Extension objects design pattern}
Source: \autocite{img:extionsionObjects}
- \label{fig:extension objects}
+ \label{fig:dp:ext-objs}
\end{figure}
Another (very popular) design pattern to structure the game engine, is the Entity
@@ -179,7 +179,7 @@ based on the amount of stars on GitHub.
EntityX & Fast, type-safe C++ entity component system & 2.2k & MIT\\
\bottomrule
\end{tabular}
- \caption{Popular \gls{ecs} libraries}
+ \caption{Popular \glsfmtname{ecs} libraries}
Source: \autocite{github:awesome-ecs}
\label{tab:popularECSLibraries}
\end{table}
@@ -190,10 +190,10 @@ It is, of course, not necessary to use a library to implement an \gls{ecs}
architecture. However, it seems very hard to achieve the same performance as a
library \autocite{github:ecsfaq}.
-\subsection{Conclusion}
+% \subsection{Conclusion}
\section{Gameobjects/components}
-\label{sec:Gameobjects/components}
+\label{sec:gameobjects-components}
\subsection{Introduction}
@@ -234,7 +234,7 @@ can not have more than one parent. \autocite{man:unityTransformClass}
\subsection{Conclusion}
-\section{Third-party Tools}
+\section{Third-party tools}
\subsection{Introduction}
@@ -248,7 +248,7 @@ described.
\subsection{Findings}
-\subsubsection{Media Frameworks}
+\subsubsection{Media frameworks}
A game engine must have the ability to handle user input, render graphics, and
process audio. Several large frameworks are available that provide these features and
@@ -359,7 +359,7 @@ Unity supports many different image formats:\noparbreak
\end{itemize}
\end{multicols}
-\subsection{Audio Format}
+\subsection{Audio format}
% TODO: +ref (both urldate 2024-09-12)
The choice of audio format for the cr\^epe game engine depends on several factors,
@@ -386,123 +386,401 @@ licensing flexibility.
\subsection{Conclusion}
-\section{Rendering}
+% \section{Rendering}
+%
+% \subsection{Introduction}
+%
+% \subsection{Findings}
+%
+% \subsection{Conclusion}
+
+% \section{Event manager/game loop}
+%
+% \subsection{Introduction}
+%
+% \subsection{Findings}
+%
+% \subsection{Conclusion}
+
+% % TODO: this entire section
+% \section{Profiling and debugging}
+%
+% % Which profiling and debugging features are wanted?
+% % How to provide those profiling and debugging features?
+% % Can most of the profiling/debugging be handled by external tools?
+%
+% % Ideas:
+% % - flame graph
+% % - watchtable (combine w/ fps/speed control overlay?)
+% % - debug printing utility functions
+%
+% \subsection{Introduction}
+%
+% \subsection{Findings}
+%
+% \subsubsection{Callgrind}
+%
+% \begin{comparison}
+% \pro{Source code does not need to be modified for profiling}
+% \con{Execution speed is severely impacted}
+% \end{comparison}
+%
+% \subsection{Conclusion}
+
+\section{Physics}
+
+%links
+%ragdoll info: https://learn.unity.com/tutorial/creating-ragdolls-2019#649c42abedbc2a04c2145ce7
+%softbody info: https://www.greenfoot.org/scenarios/29502
+
+%2d box concepts: https://box2d.org/
+%liquidfun (fork of box2d): https://google.github.io/liquidfun/
+%Chipmunk2D: https://chipmunk-physics.net/
+% particel systemhttps://learn.unity.com/tutorial/introduction-to-particle-systems#
+%rigid body:https://docs.unity3d.com/ScriptReference/Rigidbody.html
\subsection{Introduction}
-\subsection{Findings}
+This part of the research explains Physics concepts and the use of physics in a game
+engine. Furthermore, it examines the ease of using a physics engine compared to
+implementing physics from scratch. Ultimately, a recommendation will be provided on
+whether using a physics engine is more feasible than a custom implementation.
-\subsection{Conclusion}
+\subsection{Physics concepts}
-\section{Event manager/game loop}
+Some information about certain Physics topics. second partdescibes what physics we
+will be able to use and what it is.
-\subsection{Introduction}
+%Physics core concepts: https://bluebirdinternational.com/game-physics/#:~:text=Game%20physics%20is%20implemented%20using,solid%20and%20deformable%20objects%2C%20respectively
+
+%ragdoll https://bluebirdinternational.com/ragdoll-physics/
+
+\begin{description}
+ \item[Kinematics] Kinematics in game physics involves calculating the position,
+ velocity, and acceleration of objects to simulate realistic motion. It affects
+ everything from character movement to projectiles and vehicles. Collision
+ detection is key, as it determines when objects collide and how they respond,
+ including any damage or effects. Kinematics also helps create lifelike
+ animations, like jumping or running, enhancing the game's realism and immersion.
+ \begin{itemize}
+ \item mass
+ \item speed
+ \item direction
+ \item collision detection
+ \end{itemize}
+ \item[Dynamics] Dynamics simulate object interactions and forces, such as gravity
+ and friction, to enhance realism. It includes rigid body, soft body, and fluid
+ dynamics. For example, it affects car movements in racing games and projectiles
+ in shooters. Balancing dynamics is crucial to maintain performance. Ragdoll
+ physics, a related concept, models a character's body as interconnected rigid
+ bodies for realistic movement.
+ \begin{itemize}
+ \item rigid body dynamics
+ \item soft body dynamics
+ \item fluid dynamics
+ \item ragdoll physics
+ \end{itemize}
+ \item[Collision] Collision detection is the process of determining when two or more
+ objects in the game world come into contact with each other. There are several
+ techniques used for collision detection.
+ \begin{itemize}
+ \item bounding boxes
+ \item bounding spheres
+ \item mesh-based collision
+ \end{itemize}
+ These techniques involve creating simple shapes around the objects and checking
+ if they intersect with each other.
+ \item[Rigidbody] Rigidbodys deels with the behavior of of non deformable solid
+ objects. it has some physical properties.
+ \begin{itemize}
+ \item mass
+ \item velocity
+ \item angular velocity
+ \item orientation
+ \end{itemize}
+ To calculate all forces applied to the rigid body the most used algoritm is
+ Newton-Euler equations. The alogritm is about mass an conservation of energy.
+ \item[Softbody] Soft body dynamics simulates deformable objects like cloth, fluids,
+ and flesh, adding complexity beyond rigid body dynamics. Key techniques
+ include:\noparbreak
+ \begin{itemize}
+ \item Finite Element Method: Divides the object into small elements that
+ interact based on physical laws.
+ \item Mass-Spring Systems: Uses masses and springs to model deformation and
+ stretching.
+ \end{itemize}
+ These methods enhance game realism by creating lifelike clothing, natural water
+ effects, and realistic collision deformations. However, they are resource
+ intensive an require precise calculations to avoid unrealistic results.
+ \item[Particle Systems] Particle systems simulate numerous small objects to
+ create larger effects like dust, smoke, fire, or explosions. These effects can
+ add an extra layer of realism to a game.
+ \item[Fluid Dynamics] Fluid dynamics shows how fluids move and behave. In game
+ physics, it simulates liquids like water or lava, adding complexity and realism
+ to games with fluid interactions.
+ \item[Aerodynamics] Aerodynamics shows the movement of air and its interaction
+ with solid objects. In video games, it simulates how objects like airplanes or
+ birds move through the air, adding a realistic touch to games involving flight
+ or gliding.
+\end{description}
\subsection{Findings}
-\subsection{Conclusion}
+This part shows some phiscics engines an certain physics features that could be
+needed within the project.
-% TODO: this entire section
-\section{Profiling and debugging}
+\subsubsection{Available physics engines}
-% Which profiling and debugging features are wanted?
-% How to provide those profiling and debugging features?
-% Can most of the profiling/debugging be handled by external tools?
+Available physics engines for complex physics:\noparbreak
+\begin{description}
+ \item[Box2D] One of the most popular and widely used open-source 2D physics
+ engines, Box2D is known for its simplicity, robustness, and efficiency.
-% Ideas:
-% - flame graph
-% - watchtable (combine w/ fps/speed control overlay?)
-% - debug printing utility functions
+ MIT licensed.
+ \item[LiquidFun] A fork of Box2D, LiquidFun adds particle-based fluid simulation to
+ Box2D's rigid body dynamics. It's ideal for games that require both solid and
+ fluid dynamics.
-\subsection{Introduction}
+ Apache 2.0 licensed.
+ \item[Chipmunk2D] A lightweight and fast 2D physics engine that emphasizes ease of
+ use and flexibility. Chipmunk2D is designed to be simple enough to understand and
+ integrate but powerful enough for complex simulations.
-\subsection{Findings}
+ MIT licensed.
+\end{description}
-\subsubsection{Callgrind}
+\subsubsection{Physics system (engine specific physics engine)}
-\begin{comparison}
- \pro{Source code does not need to be modified for profiling}
- \con{Execution speed is severely impacted}
-\end{comparison}
+A physics engine that is independent can be used across multiple game engines or
+applications. But when the physics engine is built directly into the game engine and
+can not be reused independently, it is often considered a physics system or physics
+module within that specific engine. It is optimized and designed to work within the
+constraints and features of that particular engine.
-\subsection{Conclusion}
+features a physics engine should provide is determined by the requirements. Because
+the only requirement is that the user should easily add physics a list below is made
+for simple physics that can be implemented without the use of an 3rd party physics
+engine. Other features can be made by the user using scripts.
+
+For simple features as listed below (besides collision and particels) a Physics
+system is sufficient to provide these features to the game engine.
+
+Simple Physics features a physics engine could provide:\noparbreak
+\begin{itemize}
+ \item Gravity
+ \item Collision (detection + standard handeling)
+ \item Rigidbody body\noparbreak
+ \begin{itemize}
+ \item mass
+ \item gravity scale
+ \item velocity
+ \item body type\noparbreak
+ \begin{itemize}
+ \item Static
+ \item Dynamic
+ \item Kinematic (User script)
+ \item Kinematic (standard)
+ \end{itemize}
+ \end{itemize}
+ \item collsion detection mode
+ \item movement\noparbreak
+ \begin{itemize}
+ \item player movement
+ \item bounce
+ \item rotation
+ \item directional force
+ \end{itemize}
+ \item particels
+\end{itemize}
+
+\subsubsection{Physics with EC}
+
+with EC the component (e.g.~Rigidbody) would have some functionality to change its
+own physics. Besides storing data it would hold function as well for applying
+gravity, forces, or handle other physics-related logic.
+
+Preview of Rigidbody\noparbreak
+\begin{itemize}
+ \item Mass (data)
+ \item gravityscale (data)
+ \item velocity (data)
+ \item applygravity (function)
+ \item update position (function)
+\end{itemize}
+
+With this logic inside of each component the gameloop would look like this:
-\section{Audio}
-
-The game engine is required to have an audio system
-\autocite[\ref{req:audio}]{crepe:requirements}. Since writing a custom real-time
-audio mixing engine is outside the scope of this project\mref, this section compares
-various standalone audio libraries for suitability in the engine.
-
-\subsection{Libraries}
-\label{sec:audio:libs}
-
-After searching for libraries (search terms: `dynamic/adaptive audio', `real-time
-audio', `audio library', `game audio engine'), several libraries were found. These
-libraries were checked against the audio engine requirements
-\autocite{crepe:requirements} and then tested by writing the same benchmark-style
-\gls{poc} using the remaining qualifying libraries:\noparbreak
-\begin{enumerate}
- \item Load a background track (Ogg Vorbis)
- \item Load three short samples (WAV)
- \item Start the background track
- \item Play each sample sequentially while pausing and resuming the background track
- \item Play all samples simultaniously
- \item Stop all audio and exit
+\begin{enumerate}[label={step \arabic*:},leftmargin=5em]
+ \item Have a list of components.
+ \item call for each component the rigidbody with the update function (changing its
+ velocity)
+ \item call for each component the update position function (change x and y of each
+ entity)
+ \item check for collsion handeling (would be the collsion component)
\end{enumerate}
-Of these libraries the following were determined to be unsuitable for use in this
-project due to various reasons:\noparbreak
-\begin{description}
- \item[FMOD \autocite{lib:fmod}] Is proprietary (violates \cref{req:lib:license})
- \item[PortAudio \autocite{lib:portaudio}] Does not handle mixing
- \item[miniaudio \autocite{lib:miniaudio}] With finished \gls{poc}, but dropped due
- to very limited codec support (WAV, MP3 and FLAC only); Also does not have an
- \gls{api} reference (only programming manual)
- \item[YSE \autocite{lib:yse}] Attempted to write \gls{poc}, but CMake configuration
- in repository is broken; This project seems to have been abandoned
-\end{description}
+Because it is not known with EC if the list contains all object with a rigidbody some
+overhead is created if the entity does not have a component of the type rigidbody.
-The only library that remained after these tests is SoLoud \autocite{lib:soloud}. It
-is Zlib/LibPng licensed and provides a high-level object-oriented C++ \gls{api}.
+\subsubsection{Physics with ECS}
-\subsection{Conclusion}
-\label{sec:audio:conclusion}
+With ECS the component (e.g.~Rigidbody) would only be used to store data. all
+functionality would be moved to the Physics system
-Due to a severe shortage of libraries that fit our requirements, SoLoud appears to be
-the most suitable (and only) audio library for use in this project.
+Preview of Rigidbody
+\begin{itemize}
+ \item Mass (data)
+ \item gravityscale (data)
+ \item velocity (data)
+\end{itemize}
-\section{Physics}
+Preview of physics system
+\begin{itemize}
+ \item applygravity (function)
+ \item update position (function)
+\end{itemize}
-\subsection{Introduction}
+A seperate sytem would be made that would do all the calculations for the physics.
-\subsection{Findings}
+With this logic inside of each component the gameloop would look like
+this:\noparbreak
+\begin{enumerate}[label={Step(\arabic*):},leftmargin=5em]
+ \item ECS provides a list of rigidbodies (with the enitties)
+ \item physics system updates all components
+\end{enumerate}
+
+The benefit of ECS is that all physics and collsions are handled by one system. The
+Physics functionalities would be gathered in one place instead of multiple
+components. The Physics system could seperate the Physics function creating a correct
+Physics flow with only one loop. For EC to do this each function would need to have
+its own loop in the gameloop creating more overhead.
+
+What EC can not provide compared to ECS is a physics world. A physics world would be
+the physics that apply to all dynamic physics components. If you want to create
+gravity you can add the force to the world. The physics system would read all the
+Physics forces in the world and apply them to all dynamic entities. This would create
+an easier to use interface for the user and improve the efficiency of the physics
+because the total forces can be calcualted ones and then applied to all dynamic
+entities.
\subsection{Conclusion}
-\section{Scripting}
+More components need te be created for both EC and ECS with the diagram provided by
+the customer. With ECS having the benefit of creating a world where all dynamic
+object can have a force they interact with. A physics system has the benefit that all
+physics functionalities are located within one system instead in each component. The
+flow of Physics updates can be change within the physics system instead of in the
+gameloop itself.
+
+\section{Collisions}
\subsection{Introduction}
+Collision is mostly made part of an Physics engine, however it is something seperate
+but some collision handeling is done by the Physics engine that is the reason why
+they are most of the time one system.
+
+Collsions exists from two thing. Collsion detection and collsion handeling/ Some
+handeling is done by the physics engine and by user scripts and will not be
+explanined in this topic. Collsion detection is the scope of this research. There is
+a need of understanding what different type of collision objects are and what
+algoritm can be used to increase efficiency of the detection.
+
\subsection{Findings}
-\subsection{Conclusion}
+Collsion detection is made out of 2 fases.
-\section{Audio}
+%https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection
-\subsection{Introduction}
+%https://medium.com/@bpmw/quadtrees-for-2d-games-with-moving-elements-63360b08329f
-\subsection{Findings}
+%https://medium.com/my-games-company/optimizing-r-tree-inserts-in-unity-a-bomberman-like-example-81d2576efd75
-\subsection{Conclusion}
+%https://matthias-research.github.io/pages/tenMinutePhysics/11-hashing.pdf
-\section{AI}
+The first fase want to make a list out of objects that could be colliding. Some
+algorithm can be used to make these list in an efficient way. quadtrees, R-Trees or
+a spatial hashmap.
-\subsection{Introduction}
+\begin{description}
+ \item[Quadtrees] Quadtrees partition 2D space into quadrants (stored as nodes in a
+ tree), dividing these quadrants into smaller quadrants when they contain more
+ than a certain threshold of elements.
+ \item[R-Trees] These are data structures commonly used for spatial access. They are
+ more suited for dynamic data and allow efficient querying of rectangles or
+ bounding boxes, making them useful for collision detection.
+ \item[Spatial hashing] This technique divides space into uniform grids (similar to
+ cells in a 2D array), and each object is assigned to one or more cells based on
+ its position. Objects within the same or adjacent cells are checked for
+ collisions, improving efficiency by limiting the number of checks to nearby
+ objects.
+\end{description}
-\subsection{Findings}
+R-Trees are easy to understand but how the R-tree is build (how objects are inserted)
+is complex. The benefits of this tree for this project are not needed because
+quadtree would be sufficient for this purpose. reading the data would be as fast as
+the quadtree but implemeting the R-tree and knowing how to implement it takes to much
+time and is out of scope.
+
+\begin{table}
+ \begin{tabularx}{\linewidth}{p{8em}XXX}
+ \toprule
+ Criteria & Quadtree & R-tree & Spatial hashing \\
+ \midrule
+ Best for & Static objects, sparse data & Complex shapes, dynamic objects & Fast-moving objects, uniform data \\
+ \midrule
+ Handles moving objects & Poorly (requires restructuring) & Well (efficient updates) & Very well (simple re-hash) \\
+ \midrule
+ Memory usage & Moderate & Moderate to high & Can be high \\
+ \midrule
+ Complexity & Moderate & High & Low \\
+ \midrule
+ Spatial queries & Efficient & Very efficient & Less efficient \\
+ \midrule
+ Grid size sensitivity & N/A & N/A & High (tuning needed) \\
+ \midrule
+ Handling variable density & Good & Good & Poor \\
+ \bottomrule
+ \end{tabularx}
+ \caption{Comparison of quadtree, R-tree, and spatial hashing}
+\end{table}
+
+%https://developer.mozilla.org/en-US/docs/Games/Techniques/2D_collision_detection
+
+The second face checks the list from the first face if there are actually colliding. the narrow face detections are descripted in the list below.
+
+List of collision detection objects/algoritms (narrow)
+\begin{description}
+ \item[Axis-Aligned Bounding Box]One of the simpler forms of collision detection is
+ between two rectangles that are axis aligned --- meaning no rotation. The
+ algorithm works by ensuring there is no gap between any of the 4 sides of the
+ rectangles.
+ \item[Circle Collision] a simple shape for collision detection is between two
+ circles. This algorithm works by taking the center points of the two circles and
+ ensuring the distance between the center points are less than the two radii added
+ together.
+ \item[Separating Axis Theorem] This is a collision algorithm that can detect a
+ collision between any two convex polygons. It's more complicated to implement
+ than other methods but is more powerful.
+\end{description}
\subsection{Conclusion}
+% \section{Audio}
+%
+% \subsection{Introduction}
+%
+% \subsection{Findings}
+%
+% \subsection{Conclusion}
+
+% \section{AI}
+%
+% \subsection{Introduction}
+%
+% \subsection{Findings}
+%
+% \subsection{Conclusion}
+
\end{document}
diff --git a/scripts/time2tex.py b/scripts/time2tex.py
index a5d6802..f3f8de9 100755
--- a/scripts/time2tex.py
+++ b/scripts/time2tex.py
@@ -11,7 +11,7 @@ def fmt_duration(sec):
hour = mins // 60
if hour > 0:
- out.append("%02dh" % (hour, ))
+ out.append("%dh" % (hour, ))
mins = mins % 60
out.append("%02dm" % (mins, ))
@@ -91,16 +91,13 @@ def fmt_weekly_overview(times):
return tex.env('table', tex.join(
tex.cmd('centering'),
tex.cmd('fitimg',
- tex.env('tabular', r'l' + r'r@{~}l' * len(members) + r'@{\qquad}r', tex.join(
+ tex.env('tabular', r'l' + r'r@{~}l' * len(members) + r'>{\quad}r', tex.join(
tex.cmd('toprule'),
- tex.tabrule(*[
- tex.cmd('textbf', cell)
- for cell in [
- tex.esc("#"),
- *tex.explist([ member, "" ] for member in members),
- "Subtotal",
- ]
- ]),
+ tex.tabrule(
+ tex.cmd("textbf", tex.esc("#")),
+ *[tex.cmd("multicolumn", "2", "c", tex.cmd("textbf", member)) for member in members],
+ tex.cmd("textbf", "Subtotal"),
+ ),
tex.cmd('midrule'),
*[
tex.tabrule(*[
diff --git a/sources.bib b/sources.bib
index a34f739..7d7b6f7 100644
--- a/sources.bib
+++ b/sources.bib
@@ -129,7 +129,7 @@
@misc{img:Decorator,
title = {Decorator Pattern Structure Diagram},
- author = {Refactoring Guru},
+ author = {{Refactoring Guru}},
url = {https://refactoring.guru/images/patterns/diagrams/decorator/structure.png},
date = {2024}
}
@@ -144,8 +144,7 @@
@manual{man:DecoratorDesignPattern,
title = {Decorator Design Pattern},
- author = {Refactoring Guru},
- organization = {Refactoring Guru},
+ author = {{Refactoring Guru}},
url = {https://refactoring.guru/design-patterns/decorator},
date = {2024}
}
@@ -167,7 +166,7 @@
@misc{img:ECSBlockDiagram,
title = {ECS Diagram},
- author = {Unity},
+ author = {{Unity}},
url = {https://docs.unity3d.com/Packages/com.unity.entities@0.1/manual/images/ECSBlockDiagram.png},
date = {2024}
}
@@ -189,8 +188,8 @@
@manual{man:ECSComponentManager,
title = {ECS Core API},
- author = {Unity Technologies},
- organization = {Unity},
+ author = {{Unity Technologies}},
+ organization = {{Unity}},
url = {https://docs.unity3d.com/Packages/com.unity.entities@0.1/manual/ecs_core.html},
date = {2024}
}
diff --git a/time.txt b/time.txt
index 685cc37..d1b525f 100644
--- a/time.txt
+++ b/time.txt
@@ -73,6 +73,20 @@ loek: 2024-10-16 1h40m implementation :: scripting interface
loek: 2024-10-16 40m implementation :: scripting interface
loek: 2024-10-16 20m implementation :: scripting interface
loek: 2024-10-17 40m project meeting
+loek: 2024-10-17 10m review :: PR review (#5 and #6)
+loek: 2024-10-18 1h40m docs :: design :: scripting interface
+loek: 2024-10-20 30m review :: PR review (#37)
+loek: 2024-10-21 1h30m implementation :: global config interface
+loek: 2024-10-21 10m review :: PR review (#7)
+loek: 2024-10-22 15m review :: incorporate feedback and merge PR (#7 and #37)
+loek: 2024-10-23 30m implementation :: refactoring
+loek: 2024-10-23 2h20m review :: PR review (#9)
+loek: 2024-10-24 1h20m project meeting
+loek: 2024-10-24 30m review :: PR review (merge only, #8 and #11)
+loek: 2024-10-25 30m implementation :: scripting interface
+loek: 2024-10-25 20m review :: PR review (+errands, merge only, #12 and #13)
+loek: 2024-10-26 3h20m implementation :: save manager
+loek: 2024-10-27 4h implementation :: save manager
max: 2024-09-02 1h project kickoff
max: 2024-09-02 45m first project meeting
@@ -167,6 +181,16 @@ wouter: 2024-10-07 2h45m project meeting
wouter: 2024-10-08 4h finishing keyboard and mouse events
wouter: 2024-10-09 3h intergrating gameloop with events for testing
wouter: 2024-10-10 1h30m project meeting
+wouter: 2024-10-14 1h30m twelfth project meeting
+wouter: 2024-10-14 2h kennisdeling
+wouter: 2024-10-15 30m reviewing pull request sound
+wouter: 2024-10-17 1h thirteenth project meeting
+wouter: 2024-10-18 2h finished design diagram event manager
+wouter: 2024-10-21 3h working on design document
+wouter: 2024-10-12 30m reviewing pull request logging
+wouter: 2024-10-24 1h20m project meeting
+wouter: 2024-10-25 2h added collision functionality to event manager
+
niels: 2024-09-02 1h project meeting :: project kickoff
@@ -213,10 +237,17 @@ niels: 2024-10-09 2h adding the rendering components to api, and making the rend
niels: 2024-10-09 3h researching and programming,debugging the rendersystem
niels: 2024-10-10 3h Test jaro/particels branch to improve sdl functionalities. additionally, researching the necessary components
niels: 2024-10-11 1h30m project meeting
-
-
-
-
+niels: 2024-10-21 3h design of asset manager and rendering
+niels: 2024-10-21 1h merging new master
+niels: 2024-10-22 2h adjusted rendering to new master
+niels: 2024-10-23 2h merge jaro/poc-physics branch to niels/rendering
+niels: 2024-10-23 1h finalize rendering
+niels: 2024-10-24 1h20m project meeting
+niels: 2024-10-25 2h camera programming
+niels: 2024-10-25 2h researching camera
+niels: 2024-10-26 2h merge wouter events branch to niels/rendering
+niels: 2024-10-26 1h fix my own git camera mistake
+niels: 2024-10-26 2h programming camera poc with movement and script
jaro: 2024-09-02 1h project meeting :: project kickoff
jaro: 2024-09-02 45m project meeting
@@ -271,5 +302,8 @@ jaro: 2024-10-09 30m particle system with ECS
jaro: 2024-10-10 3h30m particle system with ECS
jaro: 2024-10-10 1h30m project meeting
jaro: 2024-10-11 30m weekly update
+jaro: 2024-10-14 2h knowledge sharing
+jaro: 2024-10-14 1h30m project meeting
+jaro: 2024-10-17 1h project discussion
# vim:ft=cfg