forked from BH12ri/ConcentrationGameApp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTheme.swift
More file actions
43 lines (35 loc) · 975 Bytes
/
Theme.swift
File metadata and controls
43 lines (35 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// Theme.swift
// Concentration
//
// Created by BHAVANASINGH on 10/01/19.
// Copyright © 2019 Stanford University. All rights reserved.
//
import Foundation
enum Theme : Int, CaseIterable {
case Halloween
case Animals
case Flowers
case Flags
case Sports
case Food
static var count : Int {
return Theme.allCases.count
}
var emojiChoices: String {
switch(self) {
case .Halloween:
return "🦇😱🙀😈🎃👻💀🧛♂️"
case .Animals:
return "🐶🐣🐼🐙🦋🐳🐯🦁"
case .Sports:
return "⚽️🏀🏈⚾️🎾🏐🏓🏑"
case .Flowers:
return "🌸🌼🌺🌹🌷🌻🥀🌾"
case .Flags:
return "🇬🇧🇻🇳🇲🇷🇳🇺🇲🇱🇭🇺🇴🇲🇵🇰"
case .Food:
return "🍧🥙🍩🍜🍰🌮🍲🍚"
}
}
}