public Controller(Charactor charactor) { _goToLeft = new GoToLeftCommand(charactor); _goToRight = new GoToRightCommand(charactor); _jump = new JumpCommand(charactor); }
public GoToRightCommand(Charactor charater) { _charactor = charater; }
public GoToLeftCommand(Charactor charater) { _charactor = charater; }
public JumpCommand(Charactor charater) { _charactor = charater; }