Lines Matching refs:masks
34 # create the rotational masks by placing the base mask at the location and seeing if
179 # masks -- an array by location of all legal rotational masks (a n inner array) for that location
182 attr_reader :rotations, :type, :masks
198 # creates the masks AND a map that returns [location, rotation] for any given mask
200 @masks = Array.new();
203 @masks[i] = @rotations.collect do | rotation |
208 @masks[i].compact!
457 piece.masks[0].each do | mask, imask, cmask |
486 piece.masks[start_location].each do | mask, imask, cmask |