Skip to content

Commit

Permalink
Remove duplicate Layer type
Browse files Browse the repository at this point in the history
  • Loading branch information
InnocentusLime authored and not-fl3 committed Sep 17, 2024
1 parent 68e436d commit ad4d7cf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tiled/src/tiled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ use nanoserde::DeJson;

pub mod layer;

use layer::Layer;

/// https://doc.mapeditor.org/en/stable/reference/tmx-map-format/#tmx-grid
#[derive(Clone, Debug, Default, DeJson)]
pub struct Grid {
Expand All @@ -17,10 +19,6 @@ pub struct Property {
pub ty: String,
}

/// https://doc.mapeditor.org/en/stable/reference/json-map-format/#json-layer
#[derive(Clone, Debug, Default, DeJson)]
pub struct Layer {}

/// https://doc.mapeditor.org/en/stable/reference/json-map-format/#json-frame
#[derive(Clone, Debug, Default, DeJson)]
pub struct Frame {
Expand Down

0 comments on commit ad4d7cf

Please sign in to comment.