Remove orphan files

This commit is contained in:
Marcel Schwarz 2020-05-29 16:39:12 +02:00
parent 387303af3a
commit ed5d5caa15
4 changed files with 0 additions and 193 deletions

View File

@ -1,25 +0,0 @@
//
// WayNode.swift
// GoldWars
//
// Created by Jakob Haag on 18.05.20.
// Copyright © 2020 SP2. All rights reserved.
//
import SpriteKit
class WayNode: SKSpriteNode{
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
print("touched Way")
// TODO: PopUp Einheiten + Close PopUp
}
override func touchesMoved(_ touches: Set<UITouch>, with event: UIEvent?) {
// TODO: zeige Angirff Effect
}
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
// TODO: Open Slider PopUp
}
}

View File

@ -1,123 +0,0 @@
//
// CElemente.swift
// GoldWars
//
// Created by Jakob Haag on 14.05.20.
// Copyright © 2020 SP2. All rights reserved.
//
import Foundation
import SpriteKit
class SampleCElement : CenterElementProtocol {
var frame: CGRect
var bases: [Base] = []
var centerBase: Base
required init(frame: CGRect) {
self.frame = frame
self.centerBase = Base(
position: CGPoint(
x: frame.midX,
y: frame.midY
)
)
self.bases.append(centerBase)
}
func getAllBases() -> [Base] {
return self.bases
}
func getTopConnection() -> Base? {
return self.centerBase
}
func getRightConnection() -> Base? {
return self.centerBase
}
func getBottomConnection() -> Base? {
return self.centerBase
}
func getLeftConnection() -> Base? {
return self.centerBase
}
}
//
// CElement7.swift
// GoldWars
//
// Created by Jakob Haag on 14.05.20.
// Copyright © 2020 SP2. All rights reserved.
//
import Foundation
import SpriteKit
class CElement1700 : CenterElementProtocol {
var frame: CGRect
var bases: [Base] = []
var topBase: Base
var bottomBase: Base
var leftBase: Base
var rightBase: Base
required init(frame: CGRect) {
self.frame = frame
self.topBase = Base(
position: CGPoint(
x: frame.midX,
y: frame.minY
)
)
self.bottomBase = Base(
position: CGPoint(
x: frame.midX,
y: frame.maxY
)
)
self.leftBase = Base(
position: CGPoint(
x: frame.minX,
y: frame.midY
)
)
self.rightBase = Base(
position: CGPoint(
x: frame.maxX,
y: frame.midY
)
)
self.bases.append(topBase)
self.bases.append(bottomBase)
self.bases.append(leftBase)
self.bases.append(rightBase)
}
func getAllBases() -> [Base] {
return self.bases
}
func getTopConnection() -> Base? {
return self.topBase
}
func getRightConnection() -> Base? {
return self.rightBase
}
func getBottomConnection() -> Base? {
return self.bottomBase
}
func getLeftConnection() -> Base? {
return self.leftBase
}
}

View File

@ -1,32 +0,0 @@
//
// PlayerMovesService.swift
// GoldWars
//
// Created by Tim Herbst on 13.05.20.
// Copyright © 2020 SP2. All rights reserved.
//
struct PlayerMove : Codable{
let fromBase: Int
let toBase: Int
let unitCount: Int
}
struct Host: Codable {
let playerName: String
}
class DataService {
static let sharedInstance = DataService()
var playerMoves: [PlayerMove] = []
var gameHost: Host?
func addMove(playerMove: PlayerMove) {
self.playerMoves.append(playerMove)
}
func setGameHost(host: Host) {
self.gameHost = host
}
}

View File

@ -1,13 +0,0 @@
//
// RoundSimulatorService.swift
// GoldWars
//
// Created by student on 13.05.20.
// Copyright © 2020 SP2. All rights reserved.
//
import Foundation
class RoundSimulatorService {
}