664 lines
24 KiB
HTML
664 lines
24 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>InteractionCell</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="InteractionCell";
|
|
}
|
|
}
|
|
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};
|
|
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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </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"> </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> <a href="package-summary.html">ruscz.game.gameOfProd.Cells</a></div>
|
|
<h2 title="Class InteractionCell" class="title">Class InteractionCell</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li><a href="Cell.html" title="class in ruscz.game.gameOfProd.Cells">ruscz.game.gameOfProd.Cells.Cell</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>ruscz.game.gameOfProd.Cells.InteractionCell</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>Direct Known Subclasses:</dt>
|
|
<dd><code><a href="DoorCell.html" title="class in ruscz.game.gameOfProd.Cells">DoorCell</a></code>, <code><a href="ChestCell.html" title="class in ruscz.game.gameOfProd.Cells">ChestCell</a></code>, <code><a href="TriggerCell.html" title="class in ruscz.game.gameOfProd.Cells">TriggerCell</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public class <span class="typeNameLabel">InteractionCell</span>
|
|
extends <a href="Cell.html" title="class in ruscz.game.gameOfProd.Cells">Cell</a></pre>
|
|
<div class="block">Cell that is interactible by Player</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== 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"> </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>protected <a href="../Dialog/Dialog.html" title="class in ruscz.game.gameOfProd.Dialog">Dialog</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dialog">dialog</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private <a href="../Image/ImageCell.html" title="class in ruscz.game.gameOfProd.Image">ImageCell</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#imageCell">imageCell</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private static java.util.logging.Logger</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#LOG">LOG</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#message">message</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#paint">paint</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>protected java.util.Scanner</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#scanner">scanner</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private <a href="../Sounds/SoundManager.html" title="class in ruscz.game.gameOfProd.Sounds">SoundManager</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#soundManager">soundManager</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private javax.swing.Timer</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#textTimer">textTimer</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>private javax.swing.Timer</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#timer">timer</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>private <a href="../Windows/WindowOfFreeMove.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#window">window</a></span></code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</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"> </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(int,int,java.lang.String,ruscz.game.gameOfProd.Dialog.Dialog,ruscz.game.gameOfProd.Map.Map,ruscz.game.gameOfProd.Windows.WindowOfFreeMove,boolean)">InteractionCell</a></span>​(int x,
|
|
int y,
|
|
java.lang.String message,
|
|
<a href="../Dialog/Dialog.html" title="class in ruscz.game.gameOfProd.Dialog">Dialog</a> dialog,
|
|
<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a> map,
|
|
<a href="../Windows/WindowOfFreeMove.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove</a> window,
|
|
boolean paint)</code></th>
|
|
<td class="colLast"> </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>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#endEvent()">endEvent</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Ends event and bounds camera</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i1">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(java.lang.Object o)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i2">
|
|
<td class="colFirst"><code><a href="../Dialog/Dialog.html" title="class in ruscz.game.gameOfProd.Dialog">Dialog</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDialog()">getDialog</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i3">
|
|
<td class="colFirst"><code><a href="../Image/ImageCell.html" title="class in ruscz.game.gameOfProd.Image">ImageCell</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getImageCell()">getImageCell</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i4">
|
|
<td class="colFirst"><code><a href="../Sounds/SoundManager.html" title="class in ruscz.game.gameOfProd.Sounds">SoundManager</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getSoundManager()">getSoundManager</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="rowColor" id="i5">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#paint(java.awt.Graphics2D)">paint</a></span>​(java.awt.Graphics2D g)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr class="altColor" id="i6">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#playCustscene(java.lang.String,int)">playCustscene</a></span>​(java.lang.String name,
|
|
int i)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Parses line of cut-scene text into a set of commands if the sequence numbers are equal</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i7">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readDialogFile(java.lang.String)">readDialogFile</a></span>​(java.lang.String name)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Reads event file and passes in on to readNextLine</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i8">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readNextLine()">readNextLine</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Parses line of event text into set of commands</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor" id="i9">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#startEvent()">startEvent</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Starts regular event or cut-scene</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor" id="i10">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#useItem(ruscz.game.gameOfProd.Inventory.Item)">useItem</a></span>​(<a href="../Inventory/Item.html" title="class in ruscz.game.gameOfProd.Inventory">Item</a> item)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Uses a selected item</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.ruscz.game.gameOfProd.Cells.Cell">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class ruscz.game.gameOfProd.Cells.<a href="Cell.html" title="class in ruscz.game.gameOfProd.Cells">Cell</a></h3>
|
|
<code><a href="Cell.html#getSize()">getSize</a>, <a href="Cell.html#getX()">getX</a>, <a href="Cell.html#getY()">getY</a>, <a href="Cell.html#set(int,int)">set</a>, <a href="Cell.html#setColor(java.awt.Color)">setColor</a></code></li>
|
|
</ul>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.Object</h3>
|
|
<code>clone, finalize, getClass, hashCode, notify, notifyAll, toString, 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="message">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>message</h4>
|
|
<pre>protected java.lang.String message</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="dialog">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>dialog</h4>
|
|
<pre>protected <a href="../Dialog/Dialog.html" title="class in ruscz.game.gameOfProd.Dialog">Dialog</a> dialog</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="scanner">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>scanner</h4>
|
|
<pre>protected java.util.Scanner scanner</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="imageCell">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>imageCell</h4>
|
|
<pre>private final <a href="../Image/ImageCell.html" title="class in ruscz.game.gameOfProd.Image">ImageCell</a> imageCell</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="soundManager">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>soundManager</h4>
|
|
<pre>private final <a href="../Sounds/SoundManager.html" title="class in ruscz.game.gameOfProd.Sounds">SoundManager</a> soundManager</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="window">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>window</h4>
|
|
<pre>private final <a href="../Windows/WindowOfFreeMove.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove</a> window</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="paint">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paint</h4>
|
|
<pre>protected boolean paint</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="timer">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>timer</h4>
|
|
<pre>private javax.swing.Timer timer</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="textTimer">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>textTimer</h4>
|
|
<pre>private javax.swing.Timer textTimer</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="LOG">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>LOG</h4>
|
|
<pre>private static final java.util.logging.Logger LOG</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="<init>(int,int,java.lang.String,ruscz.game.gameOfProd.Dialog.Dialog,ruscz.game.gameOfProd.Map.Map,ruscz.game.gameOfProd.Windows.WindowOfFreeMove,boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>InteractionCell</h4>
|
|
<pre>public InteractionCell​(int x,
|
|
int y,
|
|
java.lang.String message,
|
|
<a href="../Dialog/Dialog.html" title="class in ruscz.game.gameOfProd.Dialog">Dialog</a> dialog,
|
|
<a href="../Map/Map.html" title="class in ruscz.game.gameOfProd.Map">Map</a> map,
|
|
<a href="../Windows/WindowOfFreeMove.html" title="class in ruscz.game.gameOfProd.Windows">WindowOfFreeMove</a> window,
|
|
boolean paint)</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="startEvent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startEvent</h4>
|
|
<pre class="methodSignature">public void startEvent()</pre>
|
|
<div class="block">Starts regular event or cut-scene</div>
|
|
</li>
|
|
</ul>
|
|
<a id="readDialogFile(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>readDialogFile</h4>
|
|
<pre class="methodSignature">public void readDialogFile​(java.lang.String name)</pre>
|
|
<div class="block">Reads event file and passes in on to readNextLine</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>name</code> - event file name</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="readNextLine()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>readNextLine</h4>
|
|
<pre class="methodSignature">public void readNextLine()</pre>
|
|
<div class="block">Parses line of event text into set of commands</div>
|
|
</li>
|
|
</ul>
|
|
<a id="endEvent()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>endEvent</h4>
|
|
<pre class="methodSignature">public void endEvent()</pre>
|
|
<div class="block">Ends event and bounds camera</div>
|
|
</li>
|
|
</ul>
|
|
<a id="playCustscene(java.lang.String,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>playCustscene</h4>
|
|
<pre class="methodSignature">public void playCustscene​(java.lang.String name,
|
|
int i)</pre>
|
|
<div class="block">Parses line of cut-scene text into a set of commands if the sequence numbers are equal</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>name</code> - text to parse</dd>
|
|
<dd><code>i</code> - sequence number</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="useItem(ruscz.game.gameOfProd.Inventory.Item)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>useItem</h4>
|
|
<pre class="methodSignature">public void useItem​(<a href="../Inventory/Item.html" title="class in ruscz.game.gameOfProd.Inventory">Item</a> item)</pre>
|
|
<div class="block">Uses a selected item</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>item</code> - item to be used</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="paint(java.awt.Graphics2D)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>paint</h4>
|
|
<pre class="methodSignature">public void paint​(java.awt.Graphics2D g)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="Cell.html#paint(java.awt.Graphics2D)">paint</a></code> in class <code><a href="Cell.html" title="class in ruscz.game.gameOfProd.Cells">Cell</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="equals(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>equals</h4>
|
|
<pre class="methodSignature">public boolean equals​(java.lang.Object o)</pre>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code><a href="Cell.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="Cell.html" title="class in ruscz.game.gameOfProd.Cells">Cell</a></code></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getImageCell()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getImageCell</h4>
|
|
<pre class="methodSignature">public <a href="../Image/ImageCell.html" title="class in ruscz.game.gameOfProd.Image">ImageCell</a> getImageCell()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getSoundManager()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSoundManager</h4>
|
|
<pre class="methodSignature">public <a href="../Sounds/SoundManager.html" title="class in ruscz.game.gameOfProd.Sounds">SoundManager</a> getSoundManager()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getDialog()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getDialog</h4>
|
|
<pre class="methodSignature">public <a href="../Dialog/Dialog.html" title="class in ruscz.game.gameOfProd.Dialog">Dialog</a> getDialog()</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: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </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>
|