mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-06-11 06:29:31 +00:00
updated comment for worlds constructor
This commit is contained in:
parent
1aa388eb54
commit
f440a473ed
|
@ -29,11 +29,13 @@
|
|||
}
|
||||
|
||||
function Worlds(bufferLength, constructorCallback) {
|
||||
|
||||
// This constructor function mostly mixes in the behavior
|
||||
// of Queue, but it adds functionality to Queue's
|
||||
// dequeue method, to fetch new items from the server
|
||||
// this class mostly mixes in the behavior of Queue,
|
||||
// but it adds functionality to Queue's dropMulti
|
||||
// method, to fetch new itmes from the server
|
||||
// when the queue is running low.
|
||||
//
|
||||
// The constructor first gets a game id from the server,
|
||||
// then runs the first fetch.
|
||||
|
||||
var queue = new Queue();
|
||||
var gameId;
|
||||
|
|
Loading…
Reference in New Issue
Block a user