Mercurial > hg > ristipolku
view game/IDMPoint.java @ 176:9d3ff9605555
Change AboutBox to a "dialog" and implement Ok/close button for closing it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 16 Mar 2017 10:44:38 +0200 |
parents | e8eeac403e5f |
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); } }