Ejemplo n.º 1
0
 internal Anchor2d(Vec2 position, Orientation2d orientation, OrientationType orientationType, Entity2d parent)
 {
     Position        = position;
     Orientation     = orientation;
     OrientationType = orientationType;
     Parent          = parent;
 }
Ejemplo n.º 2
0
 public Anchor2d CreateAnchor(Vec2 anchorPosition, Orientation2d orientation = Orientation2d.UpperLeft, OrientationType orientationType = OrientationType.Absolute)
 {
     return(new Anchor2d(anchorPosition, orientation, orientationType, this));
 }