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
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user