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

95 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html id="htmlId">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Coverage Report > IView</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.View</a>
</div>
<h1>Coverage Summary for Class: IView (it.polimi.ingsw.gc14.View)</h1>
<table class="coverageStats">
<tr>
<th class="name">Class</th>
</tr>
<tr>
<td class="name">IView</td>
</tr>
</table>
<br/>
<br/>
<pre>
<code class="sourceCode" id="sourceCode">&nbsp;package it.polimi.ingsw.gc14.View;
&nbsp;
&nbsp;import it.polimi.ingsw.gc14.ErrorType;
&nbsp;import it.polimi.ingsw.gc14.Model.MiniModel;
&nbsp;
&nbsp;/** View interface implemented by both the TUI and GUI. */
&nbsp;public interface IView {
&nbsp; /**
&nbsp; * Updates the view&#39;s local copy of the game model.
&nbsp; *
&nbsp; * @param miniModel the latest mini model received from the server.
&nbsp; */
&nbsp; void setModel(MiniModel miniModel);
&nbsp;
&nbsp; /** Re-renders the view based on the current mini model state. */
&nbsp; void render();
&nbsp;
&nbsp; /**
&nbsp; * Displays an error message to the user.
&nbsp; *
&nbsp; * @param error the error type.
&nbsp; * @param message a human-readable description of the error.
&nbsp; */
&nbsp; void showError(ErrorType error, String message);
&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>