Change struct Unit to enum Unit

This commit is contained in:
72haja 2020-04-22 18:14:27 +02:00
parent fdbce8e56d
commit 6c68a569b9

View File

@ -6,8 +6,8 @@
// Copyright © 2020 SP2. All rights reserved.
//
struct Unit{
var strength: Float
var health: Float
var defence: Float
enum Unit{
case General
case Defence
case Attack
}