From f5646c5cae024a991317159c5be75d31879a8c6a Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 20 Apr 2011 12:14:30 -0700 Subject: [PATCH] Added a few lines of code so it can be fully tested Signed-off-by: unknown --- .classpath | 1 + .../grosinger/nomads/drones/SampleDrone.class | Bin 314 -> 0 bytes .../nomads/sampleDrone/SampleDrone.class | Bin 0 -> 676 bytes .../grosinger/nomads/drones/SampleDrone.java | 5 ----- .../nomads/sampleDrone/SampleDrone.java | 20 ++++++++++++++++++ 5 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 bin/net/grosinger/nomads/drones/SampleDrone.class create mode 100644 bin/net/grosinger/nomads/sampleDrone/SampleDrone.class delete mode 100644 src/net/grosinger/nomads/drones/SampleDrone.java create mode 100644 src/net/grosinger/nomads/sampleDrone/SampleDrone.java diff --git a/.classpath b/.classpath index fb50116..c98039b 100644 --- a/.classpath +++ b/.classpath @@ -2,5 +2,6 @@ + diff --git a/bin/net/grosinger/nomads/drones/SampleDrone.class b/bin/net/grosinger/nomads/drones/SampleDrone.class deleted file mode 100644 index 25b10d8feaa59f5b29b997951c2e32bbd119b69f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 314 zcma)%u};G<5QhItlLkVe5pTc*Wxx_^D;5w_M2A-0o#Yf;B{p)>zE>wC1|EQiLYylG zMwb8l-N~o#zP>*`0o)@`5fQE}532F5H@0D~tm|~$tJ*uuy;|w+t>vcxDPlst)qAa4 zZ5y>Lw_FW`@xoX$JP<}Vvkf7BbTwxf;dFuoW5TpBmS1*V$$qWNmI;@It8}~3-UR+_ z#>1=W3A5s#I&(s{aywt~vk6P{KdN`Z5?2r>ITTVUxJaf#>c~KH`;L=?G$Le@VGQ|j RCOJ926RGDygbT?C(;qVuNZJ4Z diff --git a/bin/net/grosinger/nomads/sampleDrone/SampleDrone.class b/bin/net/grosinger/nomads/sampleDrone/SampleDrone.class new file mode 100644 index 0000000000000000000000000000000000000000..777b884c26fec628530943415e4e1e02680d74cb GIT binary patch literal 676 zcmZ`$O-~y!5Pg#bHiU(I6$;@iv{Zts+Ld}uh13QbRazmWKn~mtF~MlpM!ODDe^z^F zr5^eN_))0i4JtW=gJ(SBnfGR%A0Gew1@IB?JQN5Yw6x(UHJQ>QnTFaVVwi=QNbX{J zlo~C={`1{KiO`zak=GLZqvJ2O+Q*&CG+f@tPUFKp3a zzQo+i1-!zlhZREYR@{p)7J3x+zh_n^K3-#uhcjbKSc&pyWx~@`Y1_A{6iKIy7GZlz zoVMFY3ClvZ9efZ36>MVL!xo`A1H#7++63>;p~jkt_9sk}K`f_7or6IcZwTwtMAyue z-N<21L#Xu4IK7fzm6NG9RTwx@?1C3@s-uND%(M46Dxl1VoZ4&`ITNxc_H*xl!~c<& zEVFeDoJ5ta|8%dR&Jq8~|K@HE2GoC|*;xOD4d-{+KLai2Q&gF^ff|}qfOU>1fNvSL GfW3bJ`I)N# literal 0 HcmV?d00001 diff --git a/src/net/grosinger/nomads/drones/SampleDrone.java b/src/net/grosinger/nomads/drones/SampleDrone.java deleted file mode 100644 index 6fdb729..0000000 --- a/src/net/grosinger/nomads/drones/SampleDrone.java +++ /dev/null @@ -1,5 +0,0 @@ -package net.grosinger.nomads.drones; - -public class SampleDrone { - -} diff --git a/src/net/grosinger/nomads/sampleDrone/SampleDrone.java b/src/net/grosinger/nomads/sampleDrone/SampleDrone.java new file mode 100644 index 0000000..6906b7a --- /dev/null +++ b/src/net/grosinger/nomads/sampleDrone/SampleDrone.java @@ -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"); + } +}