2020-06-11 17:49:34 +02:00

1003 lines
41 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="cs">
<head>
<!-- Generated by javadoc (12.0.2) on Thu Jun 11 14:11:06 CEST 2020 -->
<title>WindowOfBattle</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-06-11">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="WindowOfBattle";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">ruscz.game.gameOfProd.Windows</a></div>
<h2 title="Class WindowOfBattle" class="title">Class WindowOfBattle</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.awt.Component</li>
<li>
<ul class="inheritance">
<li>java.awt.Container</li>
<li>
<ul class="inheritance">
<li>javax.swing.JComponent</li>
<li>
<ul class="inheritance">
<li>javax.swing.JPanel</li>
<li>
<ul class="inheritance">
<li>ruscz.game.gameOfProd.Windows.WindowOfBattle</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code>java.awt.image.ImageObserver</code>, <code>java.awt.MenuContainer</code>, <code>java.io.Serializable</code>, <code>javax.accessibility.Accessible</code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">WindowOfBattle</span>
extends javax.swing.JPanel</pre>
<div class="block">This class holds JPanel used for battle sequences
It also holds references to all main classes used for battle</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../serialized-form.html#ruscz.game.gameOfProd.Windows.WindowOfBattle">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>(package private) class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="WindowOfBattle.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfBattle.Canvas</a></span></code></th>
<td class="colLast">
<div class="block">This class handles repainting of all battle elements and entities</div>
</td>
</tr>
</tbody>
</table>
</div>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.javax.swing.JPanel">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JPanel</h3>
<code>javax.swing.JPanel.AccessibleJPanel</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.javax.swing.JComponent">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JComponent</h3>
<code>javax.swing.JComponent.AccessibleJComponent</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.java.awt.Container">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Container</h3>
<code>java.awt.Container.AccessibleAWTContainer</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.java.awt.Component">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
<code>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../Battle/Battle.html" title="class in ruscz.game.gameOfProd.Battle">Battle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#battle">battle</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="WindowOfBattle.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfBattle.Canvas</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canvas">canvas</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CANVAS_HEIGHT">CANVAS_HEIGHT</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CANVAS_WIDTH">CANVAS_WIDTH</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#CELL_SIZE">CELL_SIZE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../BattleUI/CommandList.html" title="class in ruscz.game.gameOfProd.BattleUI">CommandList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#commandList">commandList</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../BattleUI/ConsoleInput.html" title="class in ruscz.game.gameOfProd.BattleUI">ConsoleInput</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#consoleInput">consoleInput</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../BattleUI/EnemyDescription.html" title="class in ruscz.game.gameOfProd.BattleUI">EnemyDescription</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enemyDescription">enemyDescription</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#game">game</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hitSound">hitSound</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReadyToPaint">isReadyToPaint</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRunAwayPossible">isRunAwayPossible</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../BattleUI/ItemsInventory.html" title="class in ruscz.game.gameOfProd.BattleUI">ItemsInventory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#itemsInventory">itemsInventory</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#KEY_ESCAPE">KEY_ESCAPE</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#loseCutscene">loseCutscene</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../BattleUI/MenuOfActions.html" title="class in ruscz.game.gameOfProd.BattleUI">MenuOfActions</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#menuOfActions">menuOfActions</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#musicManager">musicManager</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#name">name</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="../BattleUI/SituationText.html" title="class in ruscz.game.gameOfProd.BattleUI">SituationText</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#situationText">situationText</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#winCutscene">winCutscene</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.javax.swing.JComponent">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;javax.swing.JComponent</h3>
<code>listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.java.awt.Component">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;java.awt.Component</h3>
<code>accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.java.awt.image.ImageObserver">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(ruscz.game.gameOfProd.Game)">WindowOfBattle</a></span>&#8203;(<a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a>&nbsp;game)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="../Battle/Battle.html" title="class in ruscz.game.gameOfProd.Battle">Battle</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBattle()">getBattle</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="WindowOfBattle.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfBattle.Canvas</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCanvas()">getCanvas</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="../BattleUI/CommandList.html" title="class in ruscz.game.gameOfProd.BattleUI">CommandList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCommandList()">getCommandList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="../BattleUI/ConsoleInput.html" title="class in ruscz.game.gameOfProd.BattleUI">ConsoleInput</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getConsoleInput()">getConsoleInput</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="../BattleUI/EnemyDescription.html" title="class in ruscz.game.gameOfProd.BattleUI">EnemyDescription</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnemyDescription()">getEnemyDescription</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code><a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGame()">getGame</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getHitSound()">getHitSound</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="../BattleUI/ItemsInventory.html" title="class in ruscz.game.gameOfProd.BattleUI">ItemsInventory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getItemsInventory()">getItemsInventory</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLoseCutscene()">getLoseCutscene</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code><a href="../BattleUI/MenuOfActions.html" title="class in ruscz.game.gameOfProd.BattleUI">MenuOfActions</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMenuOfActions()">getMenuOfActions</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code><a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMusicManager()">getMusicManager</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><a href="../BattleUI/SituationText.html" title="class in ruscz.game.gameOfProd.BattleUI">SituationText</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSituationText()">getSituationText</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWinCutscene()">getWinCutscene</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRunAwayPossible()">isRunAwayPossible</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start(java.lang.String)">start</a></span>&#8203;(java.lang.String&nbsp;name)</code></th>
<td class="colLast">
<div class="block">Starts battle sequence - parses actors and other assets</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code>javax.swing.JButton</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#style(javax.swing.JButton)">style</a></span>&#8203;(javax.swing.JButton&nbsp;button)</code></th>
<td class="colLast">
<div class="block">Styles button</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeToOutput(java.lang.String)">writeToOutput</a></span>&#8203;(java.lang.String&nbsp;s)</code></th>
<td class="colLast">
<div class="block">Displays text in situationText field</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.javax.swing.JPanel">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;javax.swing.JPanel</h3>
<code>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.javax.swing.JComponent">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;javax.swing.JComponent</h3>
<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintComponent, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printComponent, printChildren, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.awt.Container">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Container</h3>
<code>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.awt.Component">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Component</h3>
<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, checkImage, checkImage, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="CELL_SIZE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CELL_SIZE</h4>
<pre>public static final&nbsp;int CELL_SIZE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfBattle.CELL_SIZE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="CANVAS_WIDTH">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CANVAS_WIDTH</h4>
<pre>public static&nbsp;int CANVAS_WIDTH</pre>
</li>
</ul>
<a id="CANVAS_HEIGHT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CANVAS_HEIGHT</h4>
<pre>public static&nbsp;int CANVAS_HEIGHT</pre>
</li>
</ul>
<a id="KEY_ESCAPE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>KEY_ESCAPE</h4>
<pre>private static final&nbsp;int KEY_ESCAPE</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#ruscz.game.gameOfProd.Windows.WindowOfBattle.KEY_ESCAPE">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="isReadyToPaint">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReadyToPaint</h4>
<pre>private static&nbsp;boolean isReadyToPaint</pre>
</li>
</ul>
<a id="canvas">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>canvas</h4>
<pre>private final&nbsp;<a href="WindowOfBattle.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfBattle.Canvas</a> canvas</pre>
</li>
</ul>
<a id="situationText">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>situationText</h4>
<pre>private final&nbsp;<a href="../BattleUI/SituationText.html" title="class in ruscz.game.gameOfProd.BattleUI">SituationText</a> situationText</pre>
</li>
</ul>
<a id="enemyDescription">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enemyDescription</h4>
<pre>private final&nbsp;<a href="../BattleUI/EnemyDescription.html" title="class in ruscz.game.gameOfProd.BattleUI">EnemyDescription</a> enemyDescription</pre>
</li>
</ul>
<a id="menuOfActions">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>menuOfActions</h4>
<pre>private final&nbsp;<a href="../BattleUI/MenuOfActions.html" title="class in ruscz.game.gameOfProd.BattleUI">MenuOfActions</a> menuOfActions</pre>
</li>
</ul>
<a id="consoleInput">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>consoleInput</h4>
<pre>private final&nbsp;<a href="../BattleUI/ConsoleInput.html" title="class in ruscz.game.gameOfProd.BattleUI">ConsoleInput</a> consoleInput</pre>
</li>
</ul>
<a id="commandList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commandList</h4>
<pre>private final&nbsp;<a href="../BattleUI/CommandList.html" title="class in ruscz.game.gameOfProd.BattleUI">CommandList</a> commandList</pre>
</li>
</ul>
<a id="itemsInventory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>itemsInventory</h4>
<pre>private final&nbsp;<a href="../BattleUI/ItemsInventory.html" title="class in ruscz.game.gameOfProd.BattleUI">ItemsInventory</a> itemsInventory</pre>
</li>
</ul>
<a id="game">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>game</h4>
<pre>private final&nbsp;<a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a> game</pre>
</li>
</ul>
<a id="battle">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>battle</h4>
<pre>private&nbsp;<a href="../Battle/Battle.html" title="class in ruscz.game.gameOfProd.Battle">Battle</a> battle</pre>
</li>
</ul>
<a id="musicManager">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>musicManager</h4>
<pre>private&nbsp;<a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a> musicManager</pre>
</li>
</ul>
<a id="winCutscene">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>winCutscene</h4>
<pre>private&nbsp;java.lang.String winCutscene</pre>
</li>
</ul>
<a id="loseCutscene">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loseCutscene</h4>
<pre>private&nbsp;java.lang.String loseCutscene</pre>
</li>
</ul>
<a id="name">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>name</h4>
<pre>private&nbsp;java.lang.String name</pre>
</li>
</ul>
<a id="hitSound">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hitSound</h4>
<pre>private&nbsp;java.lang.String hitSound</pre>
</li>
</ul>
<a id="isRunAwayPossible">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isRunAwayPossible</h4>
<pre>private&nbsp;boolean isRunAwayPossible</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(ruscz.game.gameOfProd.Game)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>WindowOfBattle</h4>
<pre>public&nbsp;WindowOfBattle&#8203;(<a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a>&nbsp;game)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getSituationText()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSituationText</h4>
<pre class="methodSignature">public&nbsp;<a href="../BattleUI/SituationText.html" title="class in ruscz.game.gameOfProd.BattleUI">SituationText</a>&nbsp;getSituationText()</pre>
</li>
</ul>
<a id="getEnemyDescription()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEnemyDescription</h4>
<pre class="methodSignature">public&nbsp;<a href="../BattleUI/EnemyDescription.html" title="class in ruscz.game.gameOfProd.BattleUI">EnemyDescription</a>&nbsp;getEnemyDescription()</pre>
</li>
</ul>
<a id="getMenuOfActions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMenuOfActions</h4>
<pre class="methodSignature">public&nbsp;<a href="../BattleUI/MenuOfActions.html" title="class in ruscz.game.gameOfProd.BattleUI">MenuOfActions</a>&nbsp;getMenuOfActions()</pre>
</li>
</ul>
<a id="getConsoleInput()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConsoleInput</h4>
<pre class="methodSignature">public&nbsp;<a href="../BattleUI/ConsoleInput.html" title="class in ruscz.game.gameOfProd.BattleUI">ConsoleInput</a>&nbsp;getConsoleInput()</pre>
</li>
</ul>
<a id="getCommandList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCommandList</h4>
<pre class="methodSignature">public&nbsp;<a href="../BattleUI/CommandList.html" title="class in ruscz.game.gameOfProd.BattleUI">CommandList</a>&nbsp;getCommandList()</pre>
</li>
</ul>
<a id="getItemsInventory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getItemsInventory</h4>
<pre class="methodSignature">public&nbsp;<a href="../BattleUI/ItemsInventory.html" title="class in ruscz.game.gameOfProd.BattleUI">ItemsInventory</a>&nbsp;getItemsInventory()</pre>
</li>
</ul>
<a id="getBattle()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBattle</h4>
<pre class="methodSignature">public&nbsp;<a href="../Battle/Battle.html" title="class in ruscz.game.gameOfProd.Battle">Battle</a>&nbsp;getBattle()</pre>
</li>
</ul>
<a id="start(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;start&#8203;(java.lang.String&nbsp;name)</pre>
<div class="block">Starts battle sequence - parses actors and other assets</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - is battle file name</dd>
</dl>
</li>
</ul>
<a id="getCanvas()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCanvas</h4>
<pre class="methodSignature">public&nbsp;<a href="WindowOfBattle.Canvas.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfBattle.Canvas</a>&nbsp;getCanvas()</pre>
</li>
</ul>
<a id="writeToOutput(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeToOutput</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;writeToOutput&#8203;(java.lang.String&nbsp;s)</pre>
<div class="block">Displays text in situationText field</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>s</code> - is text to be displayed</dd>
</dl>
</li>
</ul>
<a id="style(javax.swing.JButton)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>style</h4>
<pre class="methodSignature">public&nbsp;javax.swing.JButton&nbsp;style&#8203;(javax.swing.JButton&nbsp;button)</pre>
<div class="block">Styles button</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>button</code> - is button to be styled</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>styled button</dd>
</dl>
</li>
</ul>
<a id="getGame()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGame</h4>
<pre class="methodSignature">public&nbsp;<a href="../Game.html" title="class in ruscz.game.gameOfProd">Game</a>&nbsp;getGame()</pre>
</li>
</ul>
<a id="getMusicManager()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMusicManager</h4>
<pre class="methodSignature">public&nbsp;<a href="../Sounds/MusicManager.html" title="class in ruscz.game.gameOfProd.Sounds">MusicManager</a>&nbsp;getMusicManager()</pre>
</li>
</ul>
<a id="getWinCutscene()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWinCutscene</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getWinCutscene()</pre>
</li>
</ul>
<a id="getLoseCutscene()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLoseCutscene</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getLoseCutscene()</pre>
</li>
</ul>
<a id="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getName()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>getName</code>&nbsp;in class&nbsp;<code>java.awt.Component</code></dd>
</dl>
</li>
</ul>
<a id="getHitSound()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHitSound</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;getHitSound()</pre>
</li>
</ul>
<a id="isRunAwayPossible()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isRunAwayPossible</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isRunAwayPossible()</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>