Jump to content

Recommended Posts

Posted

It is basically done introducing an "int" into WorldObject class, storing the actual instance. Then in the knownlist system (setRegion + getKnownType methods), you filter objects based on distance (as always), and by that int.

 

There are plenty of shared systems on MxC, for different projects (mine included).

  • Upvote 1
Posted
5 hours ago, Tryskell said:

It is basically done introducing an "int" into WorldObject class, storing the actual instance. Then in the knownlist system (setRegion + getKnownType methods), you filter objects based on distance (as always), and by that int.

 

There are plenty of shared systems on MxC, for different projects (mine included).

 

doesn't necessarly have to be an "int"

 

it can be a String, which imho is much better than int, or even better the same WorldInstance class

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..