Mercurial > hg > ristipolku
view game/IDMPoint.java @ 131:67b2322fda91
Add spawning of animated score elements when player finishes a turn.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 24 Nov 2011 21:11:06 +0200 |
parents | c4d0ceec99ef |
children | 4c0dec72e2f0 |
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); } }