Added a few lines of code so it can be fully tested
Signed-off-by: unknown <github2@grosinger.net>
This commit is contained in:
parent
d2749e9a4c
commit
f5646c5cae
@ -2,5 +2,6 @@
|
|||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
|
<classpathentry kind="lib" path="C:/Users/tgrosinger/Dropbox/Programming/Java/Nomads/Nomads-0.0.1.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
Binary file not shown.
BIN
bin/net/grosinger/nomads/sampleDrone/SampleDrone.class
Normal file
BIN
bin/net/grosinger/nomads/sampleDrone/SampleDrone.class
Normal file
Binary file not shown.
@ -1,5 +0,0 @@
|
|||||||
package net.grosinger.nomads.drones;
|
|
||||||
|
|
||||||
public class SampleDrone {
|
|
||||||
|
|
||||||
}
|
|
20
src/net/grosinger/nomads/sampleDrone/SampleDrone.java
Normal file
20
src/net/grosinger/nomads/sampleDrone/SampleDrone.java
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
package net.grosinger.nomads.sampleDrone;
|
||||||
|
|
||||||
|
import net.grosinger.nomads.Drone;
|
||||||
|
|
||||||
|
public class SampleDrone extends Drone {
|
||||||
|
|
||||||
|
private static final boolean DEBUGGINGALL = true;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Override the move method. This is your main way of doing anything
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public void move() {
|
||||||
|
if (DEBUGGINGALL)
|
||||||
|
System.out.println("SampleDrone initiating move...");
|
||||||
|
|
||||||
|
if (DEBUGGINGALL)
|
||||||
|
System.out.println("SampleDrone finished move");
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user