Daycare
API documention for the Prototype Daycare.
Source code
Usage
var instance = new Daycare(args);
...
instance.method(args);
Index
Constructor
Variables
Getters & Setters
(get) canBreed
(get) hasEgg
(get) pokemonCount
Type: bool
Usage: var canBreed = d.canBreed;
(get) hasEgg
Type: bool
Usage: var hasEgg = d.hasEgg;
(get) pokemonCount
Type: int
Usage: var pokemonCount = d.pokemonCount;
Methods
call
cleanData
clear
getGrownLevels
putPokemon
takeEgg
takePokemon
Return: void
Usage: d.call();
cleanData
Return: void
Usage: d.cleanData();
clear
Return: void
Usage: d.clear();
getGrownLevels
putPokemon
takeEgg
takePokemon
Return: Pokemon or undefined
Arguments: int pokemonIndex
Usage: var result = d.takePokemon(pokemonIndex);