Use a Vector2i rather than X and Y

We have the Vector2i class already, let's use it.
well you could sore the Vector2i and return the x and y from the Vector2i
as convenience methods (getX() getY())

On Tue, Sep 16, 2014 at 9:30 AM, Moritz Schmale <notifications@github.com>
wrote:

> In src/main/java/org/spongepowered/api/world/Chunk.java:
>
> >       */
> > -    int getX();
> > -
> > -    /**
> > -     * Gets the z chunk coordinate of this chunk as it appears in the
> > -     * {@link World}.
> > -     *
> > -     * @return Z chunk coordinate
> > -     */
> > -    int getZ();
> > +    Vector2i getCoordinates();
>
> So you want to store X and Z internally as ints, and not as a Vector2i?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/SpongePowered/SpongeAPI/pull/153/files#r17604302>.
>