Exemplo n.º 1
0
    // *** UTILITY FUNCTIONS ***

    // Rotates the prop towards a new grid orientation.
    public void Rotate(Grid.Orientation newOrientation)
    {
        orientation = newOrientation;
        UpdateOrientation();
    }
Exemplo n.º 2
0
 // Bookmarks this Entity's current status for easy fallback at a later point.
 public override void SetBookmark()
 {
     base.SetBookmark();
     BookmarkedOrientation = orientation;
 }
Exemplo n.º 3
0
 public Layout(Orientation orientation, Point size, Point origin)
 {
     this.orientation = orientation;
     this.size        = size;
     this.origin      = origin;
 }