diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-02-15 07:47:48 +0000 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2011-02-15 07:47:48 +0000 |
commit | 82f9b5c81896cbd62c84df89df839c497a3e2ebc (patch) | |
tree | 1be29a729827174d23c16fafc8722e3dbd8f2283 /src/alden/CollidableObject.java | |
parent | 86c52a6002e696ebe9ef4628306431d2f22d3eb1 (diff) |
Win! Got some very basic grabbing and moving implemented. Found the Node object's amazing get/setUserData method. I had a brillant hunch such a method may exist. The mouse movements need to be scaled to the vworld coordinates though.
Diffstat (limited to 'src/alden/CollidableObject.java')
-rw-r--r-- | src/alden/CollidableObject.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alden/CollidableObject.java b/src/alden/CollidableObject.java index d207f8f..f3e1ed9 100644 --- a/src/alden/CollidableObject.java +++ b/src/alden/CollidableObject.java @@ -58,7 +58,7 @@ public abstract class CollidableObject { protected void setShape(Node node) {
this.node = node;
TG.addChild(node);
-// TG.addChild(CollisionDetector.createShape(CollisionDetector.triangularize(shapeNode)));
+ //TG.addChild(CollisionDetector.createShape(CollisionDetector.triangularize(node)));
}
public Group getGroup() {
|