Files
Progetto-ingegneria-del-sof…/deliverables/Coverage/htmlReport/ns-c/sources/source-2.html
T
2026-06-19 21:50:38 +02:00

182 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > EventType</title>
<style type="text/css">
@import "../../css/coverage.css";
@import "../../css/idea.min.css";
</style>
<script type="text/javascript" src="../../js/highlight.min.js"></script>
<script type="text/javascript" src="../../js/highlightjs-line-numbers.min.js"></script>
</head>
<body>
<div class="content">
<div class="breadCrumbs">
Current scope: <a href="../../index.html">all classes</a>
<span class="separator">|</span>
<a href="../index.html">it.polimi.ingsw.gc14.Network</a>
</div>
<h1>Coverage Summary for Class: EventType (it.polimi.ingsw.gc14.Network)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
<th class="coverageStat
">
Class, %
</th>
<th class="coverageStat
">
Method, %
</th>
<th class="coverageStat
">
Line, %
</th>
</tr>
<tr>
<td class="name">EventType</td>
<td class="coverageStat">
<span class="percent">
0%
</span>
<span class="absValue">
(0/1)
</span>
</td>
<td class="coverageStat">
<span class="percent">
0%
</span>
<span class="absValue">
(0/4)
</span>
</td>
<td class="coverageStat">
<span class="percent">
0%
</span>
<span class="absValue">
(0/16)
</span>
</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.Network;
&nbsp;
&nbsp; /**
&nbsp; * Represents the different types of network events that can be sent between
&nbsp; * client and server.
&nbsp; */
<b class="nc">&nbsp;public enum EventType {</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to add a player to the game.
&nbsp; */
<b class="nc">&nbsp; ADD_PLAYER(&quot;Add Player Event&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to submit a player&#39;s totem choice.
&nbsp; */
<b class="nc">&nbsp; TOTEM_CHOICE(&quot;Totem Choice&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to submit a player&#39;s slot choice.
&nbsp; */
<b class="nc">&nbsp; SLOT_CHOICE(&quot;Slot Choice&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to draw a tribe card from the upper card list.
&nbsp; */
<b class="nc">&nbsp; DRAW_UPPER_TRIBE(&quot;Drawing Upper Tribe&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to draw a tribe card from the lower card list.
&nbsp; */
<b class="nc">&nbsp; DRAW_LOWER_TRIBE(&quot;Drawing Lower Tribe&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to draw a building card from the upper card list.
&nbsp; */
<b class="nc">&nbsp; DRAW_UPPER_BUILD(&quot;Drawing Upper Build&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to draw a building card from the lower card list.
&nbsp; */
<b class="nc">&nbsp; DRAW_LOWER_BUILD(&quot;Drawing Lower Build&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to skip the current turn or optional action.
&nbsp; */
<b class="nc">&nbsp; SKIP_TURN(&quot;Skip Turn&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to notify that a player has disconnected.
&nbsp; */
<b class="nc">&nbsp; DISCONNECTED_PLAYER(&quot;Disconnected Player&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to notify that a player has reconnected.
&nbsp; */
<b class="nc">&nbsp; RECONNECT_PLAYER(&quot;Reconnect Player&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to apply the transition to the next round.
&nbsp; */
<b class="nc">&nbsp; NEXT_ROUND(&quot;Next Round&quot;),</b>
&nbsp;
&nbsp; /**
&nbsp; * Event used to notify that the game has ended.
&nbsp; */
<b class="nc">&nbsp; ENDED_GAME(&quot;Ended Game&quot;);</b>
&nbsp;
&nbsp; private final String description;
<b class="nc">&nbsp; private EventType(String description) {</b>
<b class="nc">&nbsp; this.description = description;</b>
&nbsp; }
&nbsp; @Override
&nbsp; public String toString() {
<b class="nc">&nbsp; return description;</b>
&nbsp; }
&nbsp; }
</code>
</pre>
</div>
<script type="text/javascript">
(function() {
var msie = false, msie9 = false;
/*@cc_on
msie = true;
@if (@_jscript_version >= 9)
msie9 = true;
@end
@*/
if (!msie || msie && msie9) {
hljs.highlightAll()
hljs.initLineNumbersOnLoad();
}
})();
</script>
<div class="footer">
<div style="float:right;">generated on 2026-06-14 21:53</div>
</div>
</body>
</html>