РЛ
Size: a a a
РЛ
РЛ
E
РЛ
E
РЛ
R
DK
А
SK
cardPlayerOne = UIImageView()
var cardPlayerTwo = UIImageView()
func ShowCardPlayer() {
UIView.animate(withDuration: 1, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0, options: .curveEaseOut, animations: {
self.cardPlayerOne.transform = CGAffineTransform.identity.translatedBy(x: CGFloat(
self.buttomStart.bounds.width -
self.buttomStart.bounds.width + CGFloat(
self.RandomPTransform(choise:
true))), y: CGFloat(
self.buttomStart.frame.minY -
self.cardPlayerOne.frame.height - 80)).rotated(by: CGFloat(Float(
self.RandomPTransform(choise:
false)) * .pi / 180))
}, completion:
nil)
}
OG
OG
IO
OG
MB
IG
РЛ
MB
DK