static centerH(obj){ obj.x = game.config.width / 2; } …
static centerH(obj){
obj.x = game.config.width / 2;
}
static centerV(obj){
obj.y = game.config.height / 2;
}
}
static centerH(obj){
obj.x = game.config.width / 2;
}
static centerV(obj){
obj.y = game.config.height / 2;
}
}