Struct tile_net::TileNetProxy [] [src]

pub struct TileNetProxy<'a, T: 'a> { /* fields omitted */ }

Proxy for editing the TileNet

Useful when editing and requiring a span of changed tiles. The span can be requested at any time. This can be used to update other states. One particular example is to upload just that square to the GPU to render on a texture.

Methods

impl<'a, T> TileNetProxy<'a, T> where T: Clone
[src]

Get the span of the changes made

Set a box

Start should be less than stop

Set an entire row

Set an entire column

Set a single grid point