Changes between Version 20 and Version 21 of Clojure Client Tutorial
- Timestamp:
- Aug 4, 2011 3:10:35 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v20 v21 65 65 client.utilities/run-ioquake 66 66 ([level] [path level]) 67 This function launches ioquake with the specified level, if the path to ioquake is hardcoded into this function, type '(run-ioquake <level>)' where <level> is a map in the maps folder of ioquake, else you must provide the path. 67 This function launches ioquake with the specified level, 68 if the path to ioquake is hardcoded into this function, 69 type '(run-ioquake <level>)' where <level> is a map in 70 the maps folder of ioquake, else you must provide the path. 68 71 nil 69 72 }}} … … 91 94 client.commands/load-quagent 92 95 ([] [moniker]) 93 This function will load a quagent into the virtual environment. Takes a optional 'moniker' (name is a reserved word in clojure) argument that specifies the key that can be used to identify the quagent and get information about it. Otherwise a randomly generated name will be made with the prefix 'quagent'. 96 This function will load a quagent into the virtual environment. 97 Takes a optional 'moniker' (name is a reserved word in clojure) 98 argument that specifies the key that can be used to identify the 99 quagent and get information about it. Otherwise a randomly 100 generated name will be made with the prefix 'quagent'. 94 101 nil 95 102 }}} … … 129 136 client.protocol-one/client->server 130 137 ([send-func quagent scheduling op args & fs]) 131 Provides a usable interface for sending ops to the server. Arguments are the type of send function, the quagent to execute the op, the scheduling, the op keyword (see *codes* in protocol_one.clj) the arguments to the op (in vector form) and the dispatch functions to be given to the send function. 138 Provides a usable interface for sending ops to the server. 139 Arguments are the type of send function, the quagent to 140 execute the op, the scheduling, the op keyword 141 (see *codes* in protocol_one.clj) the arguments to the op 142 (in vector form) and the dispatch functions to be given to 143 the send function. 132 144 nil 133 145 }}}