exchange the tabs with withspaces

This commit is contained in:
Jakob Haag 2020-05-09 17:57:06 +02:00
parent 6a847a0718
commit a76fd69267

View File

@ -14,7 +14,7 @@ class Base: GKEntity {
var unitCount: Int
var adjacencyList: Array<Base>
var changeOwnerShip: Bool
var changeOwnerShip: Bool
var ownerShipPlayer: GKPlayer?
init(position: CGPoint, player: GKPlayer! = nil, team: Team! = nil) {
@ -31,7 +31,7 @@ class Base: GKEntity {
}
}
func attackBase(base: Base, units:Int) -> [GKEntity]{
func attackBase(base: Base, units:Int) -> [GKEntity]{
base.changeOwnerShip = true
base.ownerShipPlayer = self.ownerShipPlayer
self.unitCount -= units