Skip to content

Commit

Permalink
BaseApplication: add the getInputManager() method
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Aug 9, 2023
1 parent 3309abf commit f743d08
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,16 @@ static VkQueue getGraphicsQueue() {
return graphicsQueue;
}

/**
* Access the input manager.
*
* @return the pre-existing instance (not null)
*/
public static InputManager getInputManager() {
assert inputManager != null;
return inputManager;
}

/**
* Access the logical device for resource creation/destruction.
*
Expand Down

0 comments on commit f743d08

Please sign in to comment.