Code: Select all
class master : playerpawn {}
Code: Select all
class puppet : playerpawn {}
I want change actual player from master to puppet. If I understand correctly, I must do something like this, in pseudocode, assuming that I have pointers to both master and puppet
Code: Select all
puppet.player = master.player;
master.mo = puppet;