Skip to content
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

Updates sdl #6

Merged
merged 4 commits into from
May 3, 2017
Merged

Updates sdl #6

merged 4 commits into from
May 3, 2017

Conversation

DarinM223
Copy link
Owner

@DarinM223 DarinM223 commented May 2, 2017

Updates to work with rust-sdl2 version 0.29 and modifies the following:

  • Actor::render and View::render implementations have to return Result<(), Box>
  • Collision::collides_with takes the parameter as a reference instead of moving
  • SpriteRectangle::to_sdl() returns a Rect instead of a Option < Rect >

@DarinM223 DarinM223 merged commit b14eab2 into master May 3, 2017
@DarinM223 DarinM223 deleted the update_sdl branch May 3, 2017 04:27
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

Successfully merging this pull request may close these issues.

1 participant