add struct für die Einheiten im File Unit.swift
This commit is contained in:
parent
63e0336413
commit
06a4bea38d
16
GoldWars/GoldWars/Base/Units.swift
Normal file
16
GoldWars/GoldWars/Base/Units.swift
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
//
|
||||||
|
// Units.swift
|
||||||
|
// GoldWars
|
||||||
|
//
|
||||||
|
// Created by Chauntalle Schüle on 20.04.20.
|
||||||
|
// Copyright © 2020 SP2. All rights reserved.
|
||||||
|
//
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
struct Units{
|
||||||
|
|
||||||
|
var units: Int //Anzahl der Einheiten
|
||||||
|
var strength: Int //Für spätere definition, dass verteidigende Einheiten stärker sind als die Kämpfenden
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user