/** * Gets the width of the player. * @return the player's width, according to its sprite */ inline float getWidth(void) const { return game::entities.component<Solid>(player.id())->width; }