diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-05-06 20:19:32 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-05-06 20:19:32 -0400 |
commit | 4f56606fbb9fea8d163340bd71cf3d2568e924cb (patch) | |
tree | 21fd6d8e5fe9543b27f70ba0b5591f9e88751c39 /src/us/minak/MetaCircle.java | |
parent | 3e9dc6d6711e80dfd06409428b465fad720faf50 (diff) |
Basic Cirle Implementation Update of Doom.
Diffstat (limited to 'src/us/minak/MetaCircle.java')
-rw-r--r-- | src/us/minak/MetaCircle.java | 18 |
1 files changed, 14 insertions, 4 deletions
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; + } } |