* Refactor for Master of the Universe
This commit is contained in:
parent
e447a37757
commit
7e2b1b7a54
@ -13,7 +13,6 @@ class DefBoostSkillComponent: GKComponent{
|
|||||||
var skillButtonNode: SkillButtonNode
|
var skillButtonNode: SkillButtonNode
|
||||||
|
|
||||||
init(iconName: String, text: String, position: CGPoint, isEnabled:Bool) {
|
init(iconName: String, text: String, position: CGPoint, isEnabled:Bool) {
|
||||||
|
|
||||||
skillButtonNode = SkillButtonNode(iconName: iconName,
|
skillButtonNode = SkillButtonNode(iconName: iconName,
|
||||||
text: text,
|
text: text,
|
||||||
isEnabled: isEnabled,
|
isEnabled: isEnabled,
|
||||||
|
@ -13,7 +13,6 @@ class SettingsScene: SKScene {
|
|||||||
var entityManager = EntityManager.settingsEMInstance
|
var entityManager = EntityManager.settingsEMInstance
|
||||||
|
|
||||||
override func sceneDidLoad() {
|
override func sceneDidLoad() {
|
||||||
|
|
||||||
entityManager.setScene(scene: self)
|
entityManager.setScene(scene: self)
|
||||||
let positionX = self.size.width * 0.1
|
let positionX = self.size.width * 0.1
|
||||||
let positionY = self.size.height * 0.05
|
let positionY = self.size.height * 0.05
|
||||||
|
Loading…
Reference in New Issue
Block a user