view game/IDMPoint.java @ 160:d5fbad999841

Added signature for changeset 570e4e0e2205
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 10 Feb 2016 16:24:00 +0200
parents d6d92845d6a2
children
line wrap: on
line source

/*
 * Ristipolku IDM point
 * (C) Copyright 2011 Matti 'ccr' Hämäläinen <ccr@tnsp.org>
 */
package game;

public class IDMPoint
{
    public float x, y;

    public IDMPoint(float x, float y)
    {
        this.x = x;
        this.y = y;
    }

    public IDMPoint(IDMPoint pt)
    {
        this.x = pt.x;
        this.y = pt.y;
    }

    public IDMPoint copy()
    {
        return new IDMPoint(x, y);
    }
}