mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-30 14:12:31 +02:00
Add 2048 Game
This commit is contained in:
16
Examples/2048 Game/SwiftUI2048/Models/IdentifiedBlock.swift
Executable file
16
Examples/2048 Game/SwiftUI2048/Models/IdentifiedBlock.swift
Executable file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// IdentifiedBlock.swift
|
||||
// SwiftUI2048
|
||||
//
|
||||
// Created by Hongyu on 6/5/19.
|
||||
// Copyright © 2019 Cyandev. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
struct IdentifiedBlock: Block {
|
||||
|
||||
let id: Int
|
||||
var number: Int
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user