Javascript universe access?
Posted: Mon Jan 18, 2010 12:31 am
I dunno if this has been discussed, but there is some useful stuff on Universe.m is there a plan to expose any of this to javascript?
I was looking at options for working out what the target system is, and I think it would need a new option on OOJSPlayer, or alternatively could take the coords which are already available and feed them to findSystemNumber on Universe, but I dont think you can get to that in javascript.
If we think player.ship.targetSystem is a good idea, I can commit my implementation.
I was looking at options for working out what the target system is, and I think it would need a new option on OOJSPlayer, or alternatively could take the coords which are already available and feed them to findSystemNumber on Universe, but I dont think you can get to that in javascript.
If we think player.ship.targetSystem is a good idea, I can commit my implementation.