package ru.m.puzzlez.core;

import flash.geom.Point;
import flash.geom.Rectangle;

enum BoundType {
    NONE;
    OUT;
    IN;
}

typedef Bounds = {
    var left:BoundType;
    var right:BoundType;
    var top:BoundType;
    var bottom:BoundType;
}

typedef Part = {
    var id:Int;
    var gridX:Int;
    var gridY:Int;
    var position:Point;
    var rect:Rectangle;
    var bounds:Bounds;
}
