Is it possible to add one sprite variable to all objects?

Discuss issues specific to the Flash/AS3 port of Box2D
badfitz100
Posts: 3
Joined: Mon Aug 10, 2015 6:33 am

Is it possible to add one sprite variable to all objects?

Postby badfitz100 » Mon Aug 10, 2015 3:32 pm

Title.

DinaHaines
Posts: 2
Joined: Mon Mar 20, 2017 3:22 am

Re: Is it possible to add one sprite variable to all objects?

Postby DinaHaines » Mon Mar 20, 2017 3:28 am

It's not really that "one object" can - it's just you're in code which has access to that variable, and unfortunately Java allows you to access static members (both variables and methods) as if they were instance members.
Writer @ custom essay writing service


Return to “Flash”



Who is online

Users browsing this forum: No registered users and 2 guests