# File lib/rubygame/rect.rb, line 237
def
centerx
;
return
self
.
at
(
0
)
+
(
self
.
at
(
2
).
div
(
2
));
end