Hello,
How to optimize this?
96 draws, 707 calls.
40 cards and they are drawn separately.
all textures are in one atlas, all cards are on the same parent.
The card object is a sprite in which the sprite in which 2 sprites for shirt and card face and 4 textures for this.
Card class code on the gist: https://gist.github.com/maxmonax/fd8ea7605a7558986aa152c63338f9fd
Thanks!