Mercurial > hg > ristipolku
view game/IDMPoint.java @ 148:5b25561855c3
Move next piece animation call into better place.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 28 May 2012 16:46:41 +0300 |
parents | 4c0dec72e2f0 |
children | d6d92845d6a2 |
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); } }