view game/IDMPoint.java @ 86:454a9fcd13ca

Turn antialiasing rendering hints on only for the needed elements to improve rendering speed and CPU usage.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 03 Mar 2011 16:33:02 +0200
parents 83a79d1698c8
children c4d0ceec99ef
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 copy()
    {
        return new IDMPoint(x, y);
    }
}