Daycare
API documention for the Prototype Daycare.
Source code
Usage
var instance = new Daycare(args);
...
instance.method(args);
Index
Constructor
Variables
Getters & Setters

Type: bool
Usage: var canBreed = d.canBreed;

Type: bool
Usage: var hasEgg = d.hasEgg;

Type: int
Usage: var pokemonCount = d.pokemonCount;
Methods

Return: void
Usage: d.call();

Return: void
Usage: d.cleanData();

Return: void
Usage: d.clear();




Return: Pokemon or undefined
Arguments: int pokemonIndex
Usage: var result = d.takePokemon(pokemonIndex);