From 4f56606fbb9fea8d163340bd71cf3d2568e924cb Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Tue, 6 May 2014 20:19:32 -0400 Subject: Basic Cirle Implementation Update of Doom. --- src/us/minak/MetaCircle.java | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'src/us/minak/MetaCircle.java') diff --git a/src/us/minak/MetaCircle.java b/src/us/minak/MetaCircle.java index 8741e20..9023671 100644 --- a/src/us/minak/MetaCircle.java +++ b/src/us/minak/MetaCircle.java @@ -8,10 +8,20 @@ import android.graphics.Color; */ public class MetaCircle { public MetaExpression metaExpr; - public int x; - public int y; - public int radius; - public Color color; + public float x; + public float y; + public float radius; + public int color; public boolean expanded; public int expansion; //the level of expansion (if multiple circles are expanded, this decides precidence) + + MetaCircle(float x, float y, float radius, int color, MetaExpression metaExpr) { + this.metaExpr = metaExpr; + this.x = x; + this.y = y; + this.radius = radius; + this.color = color; + this.expanded = false; + this.expansion = 0; + } } -- cgit v1.2.3-54-g00ecf