21 lines
243 B
Swift
21 lines
243 B
Swift
//
|
|
// AppRouter.swift
|
|
// WorldBuilder
|
|
//
|
|
// Created by Giovanni Josserand on 01/09/2026.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
@Observable
|
|
class AppRouter {
|
|
var selectedTab: AppTab = .home
|
|
}
|
|
|
|
|
|
|
|
enum AppTab: Hashable {
|
|
case home
|
|
case worldsList
|
|
}
|