Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.217.91
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
greenfoot /
greenfoot /
common /
[ HOME SHELL ]
Name
Size
Permission
Action
Animal.html
7.37
KB
-rw-r--r--
Animal.java
1.55
KB
-rw-r--r--
Counter.html
9.09
KB
-rw-r--r--
Counter.java
3.08
KB
-rw-r--r--
Counter.png
4.06
KB
-rw-r--r--
GifImage.html
7.37
KB
-rw-r--r--
GifImage.java
28.66
KB
-rw-r--r--
Label.html
8.75
KB
-rw-r--r--
Label.java
2.16
KB
-rw-r--r--
Map.html
9.93
KB
-rw-r--r--
Map.java
4.12
KB
-rw-r--r--
ScoreBoard.html
4.33
KB
-rw-r--r--
ScoreBoard.java
4.09
KB
-rw-r--r--
SimpleTimer.html
6.36
KB
-rw-r--r--
SimpleTimer.java
1.74
KB
-rw-r--r--
SmoothMover.html
8.87
KB
-rw-r--r--
SmoothMover.java
1.74
KB
-rw-r--r--
inherit.gif
57
B
-rw-r--r--
script.js
5.41
KB
-rw-r--r--
stylesheet.css
21.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SimpleTimer.html
<!DOCTYPE HTML> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (11.0.2) on Wed Jun 12 11:20:54 BST 2019 --> <title>SimpleTimer</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="dc.created" content="2019-06-12"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SimpleTimer"; } } catch(err) { } //--> var data = {"i0":10,"i1":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"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ======== START OF CLASS DATA ======== --> <main role="main"> <div class="header"> <h2 title="Class SimpleTimer" class="title">Class SimpleTimer</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>SimpleTimer</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <pre>public class <span class="typeNameLabel">SimpleTimer</span> extends java.lang.Object</pre> <div class="block">A simple timer class that allows you to keep track of how much time has passed between events. You use this class by creating a timer as a member field in your actor (or whatever): <pre> private SimpleTimer timer = new SimpleTimer(); </pre> Then when you want to start the timer (for example, when a shot is fired), you call the mark() method: <pre> timer.mark(); </pre> Thereafter, you can use the millisElapsed() method to find out how long it's been since mark() was called (in milliseconds, i.e. thousandths of a second). So if you want to only allow the player to fire a shot every second, you could write: <pre> if (timer.millisElapsed() > 1000 && Greenfoot.isKeyDown("space")) { // Code here for firing a new shot timer.mark(); // Reset the timer } </pre></div> <dl> <dt><span class="simpleTagLabel">Version:</span></dt> <dd>1.0</dd> <dt><span class="simpleTagLabel">Author:</span></dt> <dd>Neil Brown</dd> </dl> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary"> <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> <tr class="altColor"> <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">SimpleTimer</a></span>()</code></th> <td class="colLast"> </td> </tr> </table> </li> </ul> </section> <!-- ========== METHOD SUMMARY =========== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <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> <tr id="i0" class="altColor"> <td class="colFirst"><code>void</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#mark()">mark</a></span>()</code></th> <td class="colLast"> <div class="block">Marks the current time.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>int</code></td> <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#millisElapsed()">millisElapsed</a></span>()</code></th> <td class="colLast"> <div class="block">Returns the amount of milliseconds that have elapsed since mark() was last called.</div> </td> </tr> </table> <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, equals, 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"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <section role="region"> <ul class="blockList"> <li class="blockList"><a id="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a id="<init>()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>SimpleTimer</h4> <pre>public SimpleTimer()</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="mark()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>mark</h4> <pre class="methodSignature">public void mark()</pre> <div class="block">Marks the current time. You can then in future call millisElapsed() to find out the elapsed milliseconds since this mark() call was made. A second mark() call will reset the mark, and millisElapsed() will start increasing from zero again.</div> </li> </ul> <a id="millisElapsed()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>millisElapsed</h4> <pre class="methodSignature">public int millisElapsed()</pre> <div class="block">Returns the amount of milliseconds that have elapsed since mark() was last called. This timer runs irrespective of Greenfoot's act() cycle, so if you call it many times during the same Greenfoot frame, you may well get different answers.</div> </li> </ul> </li> </ul> </section> </li> </ul> </div> </div> </main> <!-- ========= END OF CLASS DATA ========= --> </body> </html>
Close