mapeditor / rs-tiled

Reads files from the Tiled editor into Rust
https://crates.io/crates/tiled
MIT License
268 stars 103 forks source link

Color property type should use `Color` type #177

Closed aleokdev closed 2 years ago

aleokdev commented 2 years ago

The color property type should use its proper type rather than u32.

Just wondering, but why do we have Color struct, but then still use u32 here?

_Originally posted by @bjorn in https://github.com/mapeditor/rs-tiled/pull/174#discussion_r817631554_