method calls

Apr 10, 2009 at 12:19 AM
Edited Apr 10, 2009 at 12:20 AM
Hi David,
    Are their currently any ways to call methods from other clients?

i.e.  i fire a shell at another guys tank.  when my shell hits him, my shell would call the tanks method: dealDamage(amount);

one cheap way to do this would be to have the tank have

DistributableProperty<int> life

and my shell would just subtract the life with the damage but I'm pretty sure this isn't a good programing style.