Hi,
I was wondering if it's possible to create a multi classed plugin in PRISM?
Let's say we have the main class - game.php.
Now I also want to add game_utilities.php which would contain functions.
Now let's say I have the usual stuff in game.php like the constructor along with a variable
Now I also want to add a function in game_utilities.php called "performChanges()".
The bit that I'm stuck on is allowing the game_utilities.php to access the $my_array variable.
Is this possible?
Another goodie would be to be able to send / receive InSim packets from the game_utilities.php class.
Any suggestions?
Thanks!
I was wondering if it's possible to create a multi classed plugin in PRISM?
Let's say we have the main class - game.php.
Now I also want to add game_utilities.php which would contain functions.
Now let's say I have the usual stuff in game.php like the constructor along with a variable
var $my_array = array();
Now I also want to add a function in game_utilities.php called "performChanges()".
The bit that I'm stuck on is allowing the game_utilities.php to access the $my_array variable.
Is this possible?
Another goodie would be to be able to send / receive InSim packets from the game_utilities.php class.
Any suggestions?
Thanks!