java - What is the difference between having a Circle object to a CircleMapObject or CircleShape in Libgdx? -


i don't know if silly question or not because there different types of circle objects in can have, studying libgdx api i've found circlemapobject has more functions relating object such color, visibility etc circle , circleshape objects. question reason declare shape 1 of these type of objects on other? there performance constraints on program depending on type of circle object create or have same effect in terms of performance , it's down personal preference?

circlemapobject intended used maps api. holds circle, , few additional properties defined parent class mapobject. circleshape use box2d.

circle light weight , general, if don't need map or box2d, that's 1 want.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -