Skip to content

Commit

Permalink
Make immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
STREGA authored Apr 29, 2024
1 parent c78c3b9 commit f81f8f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/2D_JRPG/JRPG.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ final class RoomTriggerComponent: Component {
self.actions.append(action)
}

static var componentID: ComponentID = ComponentID()
static let componentID: ComponentID = ComponentID()
}

// A component to store interactions.
Expand All @@ -110,7 +110,7 @@ final class RoomInteractionComponent: Component {
self.actions.append(action)
}

static var componentID: ComponentID = ComponentID()
static let componentID: ComponentID = ComponentID()
}

// A system to handle trnasitions between rooms
Expand Down

0 comments on commit f81f8f3

Please sign in to comment.