Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Make a boolean function for when mouse is clicked in Game #17

Open
JennStro opened this issue Feb 11, 2020 · 0 comments
Open

Make a boolean function for when mouse is clicked in Game #17

JennStro opened this issue Feb 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@JennStro
Copy link
Contributor

For example:

public boolean isMouseClickedLeft() {
return Gdx.input.isButtonPressed(Input.Buttons.LEFT);
}

Use this in if statement instead when mouse is clicked

@JennStro JennStro added the enhancement New feature or request label Feb 11, 2020
@JennStro JennStro changed the title Make a boolean function for when mouse is clicked in Board Make a boolean function for when mouse is clicked in Game Feb 13, 2020
@JennStro JennStro added this to the Assignment 2 milestone Feb 13, 2020
@MathiasSJacobsen MathiasSJacobsen removed this from the Assignment 2 milestone Feb 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants