From fe7981b1bf73121fbc460eb04f12d0525a4fc3de Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Thu, 22 Feb 2007 23:34:13 +0000 Subject: [PATCH] typed container for storing two flash.geom.Point(s) git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4597 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/util/Line.as | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/as/com/threerings/util/Line.as diff --git a/src/as/com/threerings/util/Line.as b/src/as/com/threerings/util/Line.as new file mode 100644 index 000000000..24bd90af7 --- /dev/null +++ b/src/as/com/threerings/util/Line.as @@ -0,0 +1,19 @@ +package com.threerings.util { + +import flash.geom.Point; + +/** + * Merely a typed container for two Points. + */ +public class Line +{ + public var start :Point; + public var stop :Point; + + public function Line (start :Point, stop :Point) + { + this.start = start; + this.stop = stop; + } +} +}