<?xml version="1.0" encoding="UTF-8"?>
<net name="d_pong" type="iopt-flow">
  <component id="c042" class="local/d_pong_if.xml" x="595" y="280" width="190" height="220" rot="0" implementation="iopt-flow" target="default">
    <name off_x="-95" off_y="-115" text="P1_interface"/>
    <source_model file="files/d_pong_if.xml"/>
    <input id="c042.Crash" name="Crash" type="event" off_x="-95" off_y="-90"/>
    <input id="c042.Boing" name="Boing" type="event" off_x="-95" off_y="-70"/>
    <input id="c042.ShowStartBtn" name="ShowStartBtn" off_x="-95" off_y="-50" type="boolean"/>
    <input id="c042.RunGame" name="RunGame" off_x="-95" off_y="-30" type="boolean"/>
    <input id="c042.X" name="X" off_x="-95" off_y="-10" type="range" min="-1" max="801"/>
    <input id="c042.Y" name="Y" off_x="-95" off_y="10" type="range" min="-1" max="801"/>
    <input id="c042.ShowGameOver" name="ShowGameOver" off_x="-95" off_y="30" type="boolean"/>
    <input id="c042.BaseX" name="BaseX" off_x="-95" off_y="50" type="range" min="0" max="800"/>
    <input id="c042.Score" name="Score" off_x="-95" off_y="70" type="range" min="0" max="10000"/>
    <input id="c042.P2BaseX" name="P2BaseX" off_x="-95" off_y="90" type="range" min="0" max="800"/>
    <output id="c042.StartBtn" name="StartBtn" type="event" off_x="95" off_y="-90"/>
    <output id="c042.ClrGameOver" name="ClrGameOver" type="event" off_x="95" off_y="-70"/>
    <output id="c042.Pause" name="Pause" off_x="95" off_y="-50" type="boolean"/>
    <output id="c042.LeftBtn" name="LeftBtn" off_x="95" off_y="-30" type="boolean"/>
    <output id="c042.RightBtn" name="RightBtn" off_x="95" off_y="-10" type="boolean"/>
  </component>
  <arc id="a043" type="read" source="c1.X" target="c042.X"/>
  <arc id="a044" type="read" source="c1.Y" target="c042.Y"/>
  <arc id="a045" type="read" source="c1.BaseX" target="c042.BaseX"/>
  <arc id="a046" type="read" source="c1.Score" target="c042.Score"/>
  <arc id="a001" type="read" source="c1.GameOver" target="c042.ShowGameOver"/>
  <arc id="a002" type="read" source="c1.Ready" target="c042.ShowStartBtn"/>
  <arc id="a003" type="read" source="c1.Crash" target="c042.Crash"/>
  <arc id="a004" type="read" source="c1.Boing" target="c042.Boing"/>
  <arc id="a005" type="read" source="c1.Run" target="c042.RunGame"/>
  <arc id="a006" type="read" source="c1.P2BaseX" target="c042.P2BaseX"/>
  <arc id="a007" type="read" source="c042.LeftBtn" target="c1.P1LeftBtn" view="symbolic"/>
  <arc id="a008" type="read" source="c042.RightBtn" target="c1.P1RightBtn" view="symbolic"/>
  <arc id="a009" type="read" source="c042.StartBtn" target="c1.StartGame" view="symbolic"/>
  <arc id="a010" type="read" source="c042.ClrGameOver" target="c1.Rst" view="symbolic"/>
  <component id="c1" class="local/d_pong_eng.xml" x="255" y="280" width="190" height="220" rot="0" implementation="iopt-flow" target="default">
    <name off_x="-95" off_y="-115" text="game_engine"/>
    <source_model file="files/d_pong_eng.xml"/>
    <input id="c1.Rst" name="Rst" type="event" off_x="-95" off_y="-90"/>
    <input id="c1.StartGame" name="StartGame" type="event" off_x="-95" off_y="-70"/>
    <input id="c1.Pause" name="Pause" off_x="-95" off_y="-50" type="boolean"/>
    <input id="c1.Player2On" name="Player2On" off_x="-95" off_y="-30" type="boolean" on_error="0"/>
    <input id="c1.P1LeftBtn" name="P1LeftBtn" off_x="-95" off_y="-10" type="boolean"/>
    <input id="c1.P2LeftBtn" name="P2LeftBtn" off_x="-95" off_y="10" type="boolean"/>
    <input id="c1.P1RightBtn" name="P1RightBtn" off_x="-95" off_y="30" type="boolean"/>
    <input id="c1.P2RightBtn" name="P2RightBtn" off_x="-95" off_y="50" type="boolean"/>
    <output id="c1.Crash" name="Crash" type="event" off_x="95" off_y="-90"/>
    <output id="c1.Boing" name="Boing" type="event" off_x="95" off_y="-70"/>
    <output id="c1.Ready" name="Ready" off_x="95" off_y="-50" type="range" min="0" max="255"/>
    <output id="c1.GameOver" name="GameOver" off_x="95" off_y="-30" type="range" min="0" max="255"/>
    <output id="c1.Run" name="Run" off_x="95" off_y="-10" type="range" min="0" max="255"/>
    <output id="c1.X" name="X" off_x="95" off_y="10" type="range" min="-1" max="801"/>
    <output id="c1.Y" name="Y" off_x="95" off_y="30" type="range" min="-1" max="801"/>
    <output id="c1.Score" name="Score" off_x="95" off_y="50" type="range" min="0" max="10000"/>
    <output id="c1.P2BaseX" name="P2BaseX" off_x="95" off_y="70" type="range" min="0" max="800"/>
    <output id="c1.BaseX" name="BaseX" off_x="95" off_y="90" type="range" min="0" max="800"/>
  </component>
  <arc id="a011" type="read" source="c042.Pause" target="c1.Pause" view="symbolic"/>
</net>
