OSDN Git Service
(root)
/
kcd
/
KCD.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
#keyPathが使用可能な部分にそれを適用
[kcd/KCD.git]
/
KCD
/
DestroyItem2Command.swift
diff --git
a/KCD/DestroyItem2Command.swift
b/KCD/DestroyItem2Command.swift
index
d3e5f53
..
4664c7b
100644
(file)
--- a/
KCD/DestroyItem2Command.swift
+++ b/
KCD/DestroyItem2Command.swift
@@
-43,7
+43,7
@@
final class DestroyItem2Command: JSONCommand {
return
}
- let resouces = [
"fuel", "bull", "steel", "bauxite"
]
+ let resouces = [
#keyPath(Material.fuel), #keyPath(Material.bull), #keyPath(Material.steel), #keyPath(Material.bauxite)
]
zip(gm, resouces).forEach {