This is part of a blog series… if you came here directly you might want to read the introduction first.
The final step to make the game playable is to add some user interaction.
Capturing the users input
In DirectX the user input is event based so what we need to do is to add a method to the BizzyBeesGame class called HandleInput and call this from BizzyBees::OnPointerPressed
1. Add a public HandleInput method to BizzyBeesGame
void HandleInput(Windows::Foundation::Point position);
2. Call the BizzyBeesGame::HandleInput method from BizzyBees::OnPointerPressed
void BizzyBees::OnPointerPressed(CoreWindow^ sender, PointerEventA ...
Go to the complete details ...