Add an actual bot to the jumpbot example file.
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 31 May 2012 18:35:46 -0400 |
parents |
99a4600a4575
|
children |
d7d867712163
|
branches/tags |
(none) |
files |
src/examples/jumpbot.clj |
Changes
--- a/src/examples/jumpbot.clj Tue Jan 31 19:33:57 2012 -0500
+++ b/src/examples/jumpbot.clj Thu May 31 18:35:46 2012 -0400
@@ -18,3 +18,7 @@
(loops/add-loop bot #'jump 2000 :jump-loop)
bot))
+
+(require '(clojurecraft [core :as core] [actions :as actions]))
+(def bot (make-jumpbot core/minecraft-local "jimmy"))
+(core/disconnect bot)