This site requires JavaScript, please enable it in your browser!
Greenfoot back
h123n
h123n wrote ...

2015/3/29

get X/Y of another class?

h123n h123n

2015/3/29

#
Hi, I am trying to figure out how to get the X and Y of another class to help with my AI pathfinding. I don't have any code yet for my pathfinding but I know how I want to do it. What I am asking is: Are there any ways of making an X/Y position public and how can I call it?
danpost danpost

2015/3/29

#
This shows what you can do.
You need to login to post a reply.