Changeset 817


Ignore:
Timestamp:
01/12/2011 02:01:31 PM (10 years ago)
Author:
dave
Message:

companion description working

Location:
scenarios/GerminationX/oak
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • scenarios/GerminationX/oak/run.sh

    r437 r817  
    1 java -classpath $( echo lib/*.jar . | sed 's/ /:/g'):src clojure.main src/oak/core.clj & 
    2 sleep 30 
    3 java -cp lib/FAtiMA.jar FAtiMA.Agent localhost 46874 false Canopy M Canopy Canopy strength:4 hurt:false pose:standing & 
    4 sleep 1 
    5 java -cp lib/FAtiMA.jar FAtiMA.Agent localhost 46874 false Cover M Cover Cover strength:8 hurt:false pose:standing & 
    6 sleep 1 
    7 java -cp lib/FAtiMA.jar FAtiMA.Agent localhost 46874 false Vertical M Vertical Vertical strength:9 hurt:false pose:standing & 
     1java -classpath $( echo lib/*.jar . | sed 's/ /:/g'):src clojure.main src/oak/core.clj  
     2#& 
     3#sleep 30 
     4#java -cp lib/FAtiMA.jar FAtiMA.Agent localhost 46874 false Canopy M Canopy Canopy strength:4 hurt:false pose:standing & 
     5#sleep 1 
     6#java -cp lib/FAtiMA.jar FAtiMA.Agent localhost 46874 false Cover M Cover Cover strength:8 hurt:false pose:standing & 
     7#sleep 1 
     8#java -cp lib/FAtiMA.jar FAtiMA.Agent localhost 46874 false Vertical M Vertical Vertical strength:9 hurt:false pose:standing & 
  • scenarios/GerminationX/oak/src/oak/core.clj

    r787 r817  
    2424 
    2525(defroutes main-routes 
    26   (GET "/spirit-islands" [] 
    27        (read-islands "./islands"))      
     26  (GET "/spirit-sprites" [] 
     27       (println (read-islands "./public/islands")) 
     28       (read-islands "./public/islands"))      
    2829  (GET "/agent-info" [] 
    2930       (json/encode-to-str (map 
  • scenarios/GerminationX/oak/src/oak/island.clj

    r787 r817  
    2121    (fn [file] 
    2222      (let [toks (.split (str file) "-")] 
    23         {:name (str file) 
     23        {:name (.substring (str file) 8) 
    2424         :position 
    2525         {:x (nth toks 2) 
Note: See TracChangeset for help on using the changeset viewer.