Skip to content

Instantly share code, notes, and snippets.

@branislav1991
Last active June 15, 2022 16:40
Show Gist options
  • Save branislav1991/39b377c13fd0e6234b8533e3d8f20350 to your computer and use it in GitHub Desktop.
Save branislav1991/39b377c13fd0e6234b8533e3d8f20350 to your computer and use it in GitHub Desktop.
class Player
{
public:
Player() {}
void interactWith(Door *door)
{
if (door)
{
door->toggleOpen();
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment