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. // Copyright © 2020 SP2. All rights reserved.
// //
struct Unit{ enum Unit{
var strength: Float case General
var health: Float case Defence
var defence: Float case Attack
} }