Skip to content

Implement Firing #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rlyshw opened this issue Apr 9, 2018 · 1 comment
Open

Implement Firing #3

rlyshw opened this issue Apr 9, 2018 · 1 comment

Comments

@rlyshw
Copy link
Contributor

rlyshw commented Apr 9, 2018

Similar to #2, refer to that thread for discussion on how best to go about it. The solution to this will look almost identical to the solution of #2, so don't do this separately from #2.

@danielhinrichs
Copy link
Contributor

	if(model.isFire()) {
		this.picNum = 0;
		switch(this.action) {
			case FORWARD_SE: this.action=OrcImage.FIRE_SE; break;
			case FORWARD_NE: this.action=OrcImage.FIRE_NE; break;
			case FORWARD_SW: this.action=OrcImage.FIRE_SW; break;
			case FORWARD_NW: this.action=OrcImage.FIRE_NW; break;
		}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants