Update : GameScene

pull/14/head
Nathan VERDIER 11 months ago
parent d5084083b8
commit 606ba47912

@ -24,14 +24,14 @@ class GameScene : SKScene {
.elephant: SpriteMeeple(imageNamed: AppImages.Elephant, size: CGSize(width: 100, height: 100), backgroundColor: Colors.MeepleP1!),
],
.player2: [
.rat: SpriteMeeple(imageNamed: AppImages.Rat.rotationEffect(.degrees(90)), size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.cat: SpriteMeeple(imageNamed: "cat-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.dog: SpriteMeeple(imageNamed: "dog-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.wolf: SpriteMeeple(imageNamed: "wolf-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.leopard: SpriteMeeple(imageNamed: "leopard-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.lion: SpriteMeeple(imageNamed: "lion-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.tiger: SpriteMeeple(imageNamed: "tiger-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.elephant: SpriteMeeple(imageNamed: "elephant-inv", size: CGSize(width: 100, height: 100), backgroundColor: .blue),
.rat: SpriteMeeple(imageNamed: AppImages.Rat, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.cat: SpriteMeeple(imageNamed: AppImages.Cat, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.dog: SpriteMeeple(imageNamed: AppImages.Dog, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.wolf: SpriteMeeple(imageNamed: AppImages.Wolf, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.leopard: SpriteMeeple(imageNamed: AppImages.Leopard, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.lion: SpriteMeeple(imageNamed: AppImages.Lion, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.tiger: SpriteMeeple(imageNamed: "", size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
.elephant: SpriteMeeple(imageNamed: AppImages.Elephant, size: CGSize(width: 100, height: 100), backgroundColor: .blue, imageRotation: 180),
],
]

Loading…
Cancel
Save