Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Grid{
- private var content: [[Int?]]
- init(width: Int, height: Int){
- content = Grid.setupForNewGame(width: width, height: height)
- }
- class func setupForNewGame(width: Int,height: Int)->[[Int]]{
- return ...
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement