You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
use sfml::graphics::IntRect;
|
|
|
|
pub struct TileType {
|
|
pub texture_rect: IntRect,
|
|
pub ghost_texture_rect: IntRect,
|
|
}
|
|
|
|
impl TileType {
|
|
pub fn new(texture_rect: IntRect, ghost_texture_rect: IntRect) -> Self {
|
|
Self {
|
|
texture_rect,
|
|
ghost_texture_rect,
|
|
}
|
|
}
|
|
}
|