Mercurial > hg > ristipolku
view game/IDMPoint.java @ 117:973f567c7b9d dev-0_75
Change how gameboard is rendered, make it more OO-sensible.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 31 May 2011 18:53:37 +0300 |
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); } }