Update: SpriteMeeple for width and height assets

pull/14/head
Nathan VERDIER 11 months ago
parent 7f804f6c62
commit 457b8ff3d7

@ -25,7 +25,7 @@ class SpriteMeeple : SKNode {
init(imageNamed imageName: String, size: CGSize, backgroundColor: UIColor, imageRotation : Double = 0){
imageNode = SKSpriteNode(imageNamed: imageName)
imageNode.size = CGSize(width: 90, height: 90)
imageNode.size = CGSize(width: 80, height: 65)
ellipseNode = SKShapeNode(ellipseOf: CGSize(width: 90, height: 90))
ellipseNode.fillColor = backgroundColor

Loading…
Cancel
Save