You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="549px" preserveAspectRatio="none" style="width:1106px;height:549px;background:#FFFFFF;" version="1.1" viewBox="0 0 1106 549" width="1106px" zoomAndPan="magnify"><defs><filter height="300%" id="f1j38mcczfhxq8" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--MD5=[f35b8d93951ba498799a84be5600c0ca]
class Joueur--><rect codeLine="1" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="137.6328" id="Joueur" style="stroke:#A80036;stroke-width:1.5;" width="118" x="556.5" y="7"/><ellipse cx="592.2" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M595.1688,28.6406 Q594.5906,28.9375 593.95,29.0781 Q593.3094,29.2344 592.6063,29.2344 Q590.1063,29.2344 588.7781,27.5938 Q587.4656,25.9375 587.4656,22.8125 Q587.4656,19.6875 588.7781,18.0313 Q590.1063,16.375 592.6063,16.375 Q593.3094,16.375 593.95,16.5313 Q594.6063,16.6875 595.1688,16.9844 L595.1688,19.7031 Q594.5438,19.125 593.95,18.8594 Q593.3563,18.5781 592.7313,18.5781 Q591.3875,18.5781 590.7,19.6563 Q590.0125,20.7188 590.0125,22.8125 Q590.0125,24.9063 590.7,25.9844 Q591.3875,27.0469 592.7313,27.0469 Q593.3563,27.0469 593.95,26.7813 Q594.5438,26.5 595.1688,25.9219 L595.1688,28.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="40" x="610.8" y="27.1543">Joueur</text><line style="stroke:#A80036;stroke-width:1.5;" x1="557.5" x2="673.5" y1="39" y2="39"/><ellipse cx="567.5" cy="50" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="576.5" y="53.2104">int32_t x</text><ellipse cx="567.5" cy="62.8047" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="576.5" y="66.0151">int32_t y</text><ellipse cx="567.5" cy="75.6094" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="576.5" y="78.8198">int8_t dx</text><ellipse cx="567.5" cy="88.4141" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="576.5" y="91.6245">int8_t dy</text><ellipse cx="567.5" cy="101.2188" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="70" x="576.5" y="104.4292">int8_t health</text><ellipse cx="567.5" cy="114.0234" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="84" x="576.5" y="117.2339">Missile missile</text><line style="stroke:#A80036;stroke-width:1.0;" x1="557.5" x2="673.5" y1="123.8281" y2="123.8281"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="106" x="562.5" y="138.0386">modelise le joueur</text><!--MD5=[08e6eb70297d7f82cbb2c0ecd9e67c76]
class Missile--><rect codeLine="12" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="150.4375" id="Missile" style="stroke:#A80036;stroke-width:1.5;" width="155" x="670" y="222"/><ellipse cx="722.75" cy="238" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M725.7188,243.6406 Q725.1406,243.9375 724.5,244.0781 Q723.8594,244.2344 723.1563,244.2344 Q720.6563,244.2344 719.3281,242.5938 Q718.0156,240.9375 718.0156,237.8125 Q718.0156,234.6875 719.3281,233.0313 Q720.6563,231.375 723.1563,231.375 Q723.8594,231.375 724.5,231.5313 Q725.1563,231.6875 725.7188,231.9844 L725.7188,234.7031 Q725.0938,234.125 724.5,233.8594 Q723.9063,233.5781 723.2813,233.5781 Q721.9375,233.5781 721.25,234.6563 Q720.5625,235.7188 720.5625,237.8125 Q720.5625,239.9063 721.25,240.9844 Q721.9375,242.0469 723.2813,242.0469 Q723.9063,242.0469 724.5,241.7813 Q725.0938,241.5 725.7188,240.9219 L725.7188,243.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="41" x="743.25" y="242.1543">Missile</text><line style="stroke:#A80036;stroke-width:1.5;" x1="671" x2="824" y1="254" y2="254"/><ellipse cx="681" cy="265" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="690" y="268.2104">int16_t x</text><ellipse cx="681" cy="277.8047" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="690" y="281.0151">int16_t y</text><ellipse cx="681" cy="290.6094" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="690" y="293.8198">int8_t dx</text><ellipse cx="681" cy="303.4141" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="690" y="306.6245">int8_t dy</text><ellipse cx="681" cy="316.2188" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="129" x="690" y="319.4292">Camps_missile equipe</text><ellipse cx="681" cy="329.0234" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="88" x="690" y="332.2339">uint8_t damage</text><ellipse cx="681" cy="341.8281" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="75" x="690" y="345.0386">uint8_t valide</text><line style="stroke:#A80036;stroke-width:1.0;" x1="671" x2="824" y1="351.6328" y2="351.6328"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="129" x="676" y="365.8433">modelise les missiles.</text><!--MD5=[d2c4278637bdc93ab6ebd71329cfa63c]
class Monster--><rect codeLine="24" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="112.0234" id="Monster" style="stroke:#A80036;stroke-width:1.5;" width="148" x="805.5" y="20"/><ellipse cx="849.75" cy="36" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M852.7188,41.6406 Q852.1406,41.9375 851.5,42.0781 Q850.8594,42.2344 850.1563,42.2344 Q847.6563,42.2344 846.3281,40.5938 Q845.0156,38.9375 845.0156,35.8125 Q845.0156,32.6875 846.3281,31.0313 Q847.6563,29.375 850.1563,29.375 Q850.8594,29.375 851.5,29.5313 Q852.1563,29.6875 852.7188,29.9844 L852.7188,32.7031 Q852.0938,32.125 851.5,31.8594 Q850.9063,31.5781 850.2813,31.5781 Q848.9375,31.5781 848.25,32.6563 Q847.5625,33.7188 847.5625,35.8125 Q847.5625,37.9063 848.25,38.9844 Q848.9375,40.0469 850.2813,40.0469 Q850.9063,40.0469 851.5,39.7813 Q852.0938,39.5 852.7188,38.9219 L852.7188,41.6406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="51" x="870.25" y="40.1543">Monster</text><line style="stroke:#A80036;stroke-width:1.5;" x1="806.5" x2="952.5" y1="52" y2="52"/><ellipse cx="816.5" cy="63" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="825.5" y="66.2104">int32_t x</text><ellipse cx="816.5" cy="75.8047" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="48" x="825.5" y="79.0151">int32_t y</text><ellipse cx="816.5" cy="88.6094" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="77" x="825.5" y="91.8198">int16_t health</text><ellipse cx="816.5" cy="101.4141" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;fill:none;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="84" x="825.5" y="104.6245">Missile missile</text><line style="stroke:#A80036;stroke-width:1.0;" x1="806.5" x2="952.5" y1="111.2188" y2="111.2188"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="136" x="811.5" y="125.4292">modelise les monstres.</text><!--MD5=[41178c8a85c8951a5fc67ad610e8f0cf]
class Collision--><rect codeLine="33" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="99.2188" id="Collision" style="stroke:#A80036;stroke-width:1.5;" width="262" x="28.5" y="26.5"/><ellipse cx="129.75" cy="42.5" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M132.7188,48.1406 Q132.1406,48.4375 131.5,48.5781 Q130.8594,48.7344 130.1563,48.7344 Q127.6563,48.7344 126.3281,47.0938 Q125.0156,45.4375 125.0156,42.3125 Q125.0156,39.1875 126.3281,37.5313 Q127.6563,35.875 130.1563,35.875 Q130.8594,35.875 131.5,36.0313 Q132.1563,36.1875 132.7188,36.4844 L132.7188,39.2031 Q132.0938,38.625 131.5,38.3594 Q130.9063,38.0781 130.2813,38.0781 Q128.9375,38.0781 128.25,39.1563 Q127.5625,40.2188 127.5625,42.3125 Q127.5625,44.4063 128.25,45.4844 Q128.9375,46.5469 130.2813,46.5469 Q130.9063,46.5469 131.5,46.2813 Q132.0938,46 132.7188,45.4219 L132.7188,48.1406 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="51" x="150.25" y="46.6543">Collision</text><line style="stroke:#A80036;stroke-width:1.5;" x1="29.5" x2="289.5" y1="58.5" y2="58.5"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="65" x="34.5" y="72.7104">uint8_t idx1</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="65" x="34.5" y="85.5151">uint8_t idx2</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="88" x="34.5" y="98.3198">uint8_t damage</text><line style="stroke:#A80036;stroke-width:1.0;" x1="29.5" x2="289.5" y1="104.9141" y2="104.9141"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="250" x="34.5" y="119.1245">décrit les colision entre missile et monstre.</text><!--MD5=[d71233bb92ed4f19a8ed5030eb1ddf0f]
class Camps_missile--><rect codeLine="41" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="86.4141" id="Camps_missile" style="stroke:#A80036;stroke-width:1.5;" width="167" x="664" y="449"/><ellipse cx="699.25" cy="465" fill="#EB937F" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M703.3594,471 L695.6406,471 L695.6406,458.6094 L703.3594,458.6094 L703.3594,460.7656 L698.0938,460.7656 L698.0938,463.4375 L702.8594,463.4375 L702.8594,465.5938 L698.0938,465.5938 L698.0938,468.8438 L703.3594,468.8438 L703.3594,471 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="90" x="717.75" y="469.1543">Camps_missile</text><line style="stroke:#A80036;stroke-width:1.5;" x1="665" x2="830" y1="481" y2="481"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="69" x="670" y="495.2104">MISSILE_AMI</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="92" x="670" y="508.0151">MISSILE_ENNEMI</text><line style="stroke:#A80036;stroke-width:1.0;" x1="665" x2="830" y1="514.6094" y2="514.6094"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="155" x="670" y="528.8198">décrit le camps du missile.</text><!--MD5=[f6789e155cb18b37a1aa58e36deffb2b]
class End_type--><rect codeLine="48" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="86.4141" id="End_type" style="stroke:#A80036;stroke-width:1.5;" width="195" x="326" y="33"/><ellipse cx="390.75" cy="49" fill="#EB937F" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M394.8594,55 L387.1406,55 L387.1406,42.6094 L394.8594,42.6094 L394.8594,44.7656 L389.5938,44.7656 L389.5938,47.4375 L394.3594,47.4375 L394.3594,49.5938 L389.5938,49.5938 L389.5938,52.8438 L394.8594,52.8438 L394.8594,55 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="57" x="411.25" y="53.1543">End_type</text><line style="stroke:#A80036;stroke-width:1.5;" x1="327" x2="520" y1="65" y2="65"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="110" x="332" y="79.2104">END_TABLEAU_VIDE</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="109" x="332" y="92.0151">END_MORT_JOUEUR</text><line style="stroke:#A80036;stroke-width:1.0;" x1="327" x2="520" y1="98.6094" y2="98.6094"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="183" x="332" y="112.8198">décrit le type de fin de la partie.</text><!--MD5=[af793d46a15a2d07d16f100b44a69fb5]
class Sens_ennemie--><rect codeLine="55" fill="#FEFECE" filter="url(#f1j38mcczfhxq8)" height="86.4141" id="Sens_ennemie" style="stroke:#A80036;stroke-width:1.5;" width="305" x="7" y="254"/><ellipse cx="109.75" cy="270" fill="#EB937F" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M113.8594,276 L106.1406,276 L106.1406,263.6094 L113.8594,263.6094 L113.8594,265.7656 L108.5938,265.7656 L108.5938,268.4375 L113.3594,268.4375 L113.3594,270.5938 L108.5938,270.5938 L108.5938,273.8438 L113.8594,273.8438 L113.8594,276 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="91" x="130.25" y="274.1543">Sens_ennemie</text><line style="stroke:#A80036;stroke-width:1.5;" x1="8" x2="311" y1="286" y2="286"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="41" x="13" y="300.2104">DROITE</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="47" x="13" y="313.0151">GAUCHE</text><line style="stroke:#A80036;stroke-width:1.0;" x1="8" x2="311" y1="319.6094" y2="319.6094"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="293" x="13" y="333.8198">décrit le sens de déplacement actuel des ennemis.</text><!--MD5=[0e4ce9d744c94cce74613a0becc3b150]
reverse link Joueur to Missile--><path codeLine="62" d="M603.73,158.46 C604.77,170.11 607.41,181.65 612.5,192 C625.04,217.49 647.16,238.48 669.91,254.77 " fill="none" id="Joueur-backto-Missile" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="603.19,145.3,599.4373,151.4577,603.678,157.2901,607.4307,151.1324,603.19,145.3" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="222" x="613.5" y="188.0669">décrit le missile de base du joueur.</text><!--MD5=[c95a0a309839ea8468465291be85ab5c]
reverse link Monster to Missile--><path codeLine="64" d="M861.54,144.86 C855.94,160.87 848.97,177.49 840.5,192 C834.58,202.15 827.56,212.18 820.08,221.78 " fill="none" id="Monster-backto-Missile" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="865.73,132.2,860.0471,136.639,861.959,143.5921,867.6419,139.153,865.73,132.2" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="250" x="848.5" y="188.0669">décrit le missile de base des monstres.</text><!--MD5=[04a30467d4c91209488a7dcb2c8ad034]
reverse link Missile to Camps_missile--><path codeLine="65" d="M747.5,385.35 C747.5,407.47 747.5,430.24 747.5,448.95 " fill="none" id="Missile-backto-Camps_missile" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="747.5,372.07,743.5,378.07,747.5,384.07,751.5,378.07,747.5,372.07" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="250" x="748.5" y="415.0669">décrit le missile de base des monstres.</text><!--MD5=[e1d035e3673a4865ed0b565819527054]
link Collision to End_type--><!--MD5=[40a52f1c7779689dc21c4896fcb686fc]
link Collision to Sens_ennemie--><!--MD5=[9333454b24ece9ac4e094dfcf6c2b8af]
@startuml class
class Joueur {
+ int32_t x
+ int32_t y
+ int8_t dx
+ int8_t dy
+ int8_t health
+ Missile missile
- - -
modelise le joueur
}
class Missile{
+ int16_t x
+ int16_t y
+ int8_t dx
+ int8_t dy
+ Camps_missile equipe
+ uint8_t damage
+ uint8_t valide
- - -
modelise les missiles.
}
class Monster{
+ int32_t x
+ int32_t y
+ int16_t health
+ Missile missile
- - -
modelise les monstres.
}
class Collision{
uint8_t idx1
uint8_t idx2
uint8_t damage
- - -
décrit les colision entre missile et monstre.
}
enum Camps_missile{
MISSILE_AMI
MISSILE_ENNEMI
- - -
décrit le camps du missile.
}
enum End_type{
END_TABLEAU_VIDE
END_MORT_JOUEUR
- - -
décrit le type de fin de la partie.
}
enum Sens_ennemie{
DROITE
GAUCHE
- - -
décrit le sens de déplacement actuel des ennemis.
}
Joueur *- - Missile : décrit le missile de base du joueur.
Monster *- - Missile : décrit le missile de base des monstres.
Missile *- - Camps_missile : décrit le missile de base des monstres.
@enduml
PlantUML version 1.2021.7(Sun May 23 14:40:07 CEST 2021)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Default Encoding: UTF-8
Language: fr
Country: FR
--></g></svg>