 import UIKit
 
-class VOptionWhistlesVsZombiesBoard:View
+class VOptionWhistlesVsZombiesBoard:View, UICollectionViewDelegate, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout
 {
+    private weak var collectionView:VCollection!
     private let kBarHeight:CGFloat = 100
+    private let kCellWidth:CGFloat = 200
     
     required init(controller:UIViewController)
     {

        let bar:VOptionWhistlesVsZombiesBoardBar = VOptionWhistlesVsZombiesBoardBar(
            controller:controller)
        
        addSubview(blur)
        addSubview(bar)
        
        NSLayoutConstraint.equals(
            view:blur,

        NSLayoutConstraint.equalsHorizontal(
            view:bar,
            toView:self)
        
        NSLayoutConstraint.topToBottom(
            view:collectionView,
            toView:bar)
        NSLayoutConstraint.bottomToBottom(
            view:collectionView,
            toView:self)
        NSLayoutConstraint.equalsHorizontal(
            view:collectionView,
            toView:self)
    }
    
    required init?(coder:NSCoder)
    {
        return nil
    }
    
    //MARK: collectionView delegate
    
    func numberOfSections(in collectionView:UICollectionView) -> Int
    {
        return 1
    }
}
