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

Twetch ·

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

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