Skip to content

Instantly share code, notes, and snippets.

import SpriteKit
class BuildingNode: SKSpriteNode {
var currentImage: UIImage!
func setup() {
// set name, texture, and physics for the building
name = "building"