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

Tile cleanup #84

Merged
merged 4 commits into from Jul 16, 2014
Merged

Tile cleanup #84

merged 4 commits into from Jul 16, 2014

Commits on Jul 15, 2014

  1. Remove the Tile trait

    It's unclear whether LayerBuffers will always represent the contents of
    one Tile and there's only one implementation of this trait.
    mrobinson committed Jul 15, 2014

Commits on Jul 16, 2014

  1. TileGrid keeps a grid of Tiles instead of Buffers

    This will allow the TileGrid to better track the state of each Tile.
    mrobinson committed Jul 16, 2014
  2. Move texture creation to Layer

    This allows Layers to create their own textures instead of relying on
    Servo to do the job. Textures now track whether or not they should be
    flipped by passing the buffer to the factory method.
    mrobinson committed Jul 16, 2014
  3. Move Texture creation to the TileGrid

    This way each Tile can be responsible for creating its own Textures.
    mrobinson committed Jul 16, 2014
You can’t perform that action at this time.