GeoKnow/Jassa-Core

View on GitHub
lib/geo/Point.js

Summary

Maintainability
A
2 hrs
Test Coverage
var Class = require('../ext/Class');

var Point = Class.create({
    initialize: function(x, y) {
        this.x = x;
        this.y = y;
    },

    getX: function() {
        return this.x;
    },

    getY: function() {
        return this.y;
    }
});

module.exports = Point;