classdef Tile < handle
% Defines a tile in a stained glass image.
% A Tile has a color represented as rgb values and a set of vertices, each
% is a Vertex.
    
    properties (Access=private)
        colr      % length 3 vector of doubles: rgb values, each in [0,1]
        vertices  % length 4 simple array of Vertex references
    end
    
    methods
        function T = Tile(c, vert)
        % Construct Tile T: 
        %   T.colr is c, a length 3 vector of doubles storing rgb values
        %   T.vertices is vert, a length 4 simple array of Vertex references
            %
            % Write your code here
            %
        end
        
        function draw(self)
        % Draw this Tile.  Assume a figure window is already open.
            %
            % Write your code here
            %
        end
    end
    
end % classdef