Example #1
0
    public SquareGridSquare(int row, int col, float height = 0)
    {
        this.Row    = row;
        this.Col    = col;
        this.Height = SquareGridSquare.RoundHeight(height);
        this.units  = new List <SquareGridUnit>();

        this.Vertex    = new GraphableMixin <SquareGridSquare>(this);
        this.TmpVertex = new GraphableMixin <SquareGridSquare>(this);
    }