-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Добавлены экземпляры класса Eq для типов Item, Object.
- Добвлен класс типов Openable a. - Добавлен экземпляр класса Openable для типа Object. - Упрощены функции открытия объекта.
- Loading branch information
unknown
authored and
unknown
committed
May 22, 2011
1 parent
c68efa4
commit c5a2bf0
Showing
4 changed files
with
84 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
GameState {gsLocations = [Location {locRoom = SouthRoom, locPaths = [Path {pathDirection = North, pathRoom = NorthRoom},Path {pathDirection = South, pathRoom = SouthRoom}], locShortDescription = "You are standing in the middle room at the wooden table.", locLongDescription = "Room looks nice: small, clean, beauty. There is phone and papers on the big wooden table. It is rainy and dark behind the window. A lightnings beat to the lighthouse on a mountain.", locObjects = [Object {objectItem = Drawer, objectName = "Drawer", objectContainerState = Opened, objectContents = [Object {objectItem = Lighter, objectName = "Lighter", objectContainerState = NotContainer, objectContents = []}]},Object {objectItem = Phone, objectName = "Digital Phone", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Table, objectName = "Table", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Rope, objectName = "Rope", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Hook, objectName = "Hook", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Umbrella, objectName = "Blue Umbrella", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Phone, objectName = "Broken Phone", objectContainerState = NotContainer, objectContents = []}], locLongDescribed = False},Location {locRoom = NorthRoom, locPaths = [Path {pathDirection = South, pathRoom = SouthRoom},Path {pathDirection = West, pathRoom = Corridor}], locShortDescription = "This is big light room.", locLongDescription = "SouthRoom is the big nice place with many lamps on the walls.", locObjects = [Object {objectItem = Umbrella, objectName = "Blue Umbrella", objectContainerState = NotContainer, objectContents = []}], locLongDescribed = False}], gsCurrentLocation = Location {locRoom = SouthRoom, locPaths = [Path {pathDirection = North, pathRoom = NorthRoom},Path {pathDirection = South, pathRoom = SouthRoom}], locShortDescription = "You are standing in the middle room at the wooden table.", locLongDescription = "Room looks nice: small, clean, beauty. There is phone and papers on the big wooden table. It is rainy and dark behind the window. A lightnings beat to the lighthouse on a mountain.", locObjects = [Object {objectItem = Drawer, objectName = "Drawer", objectContainerState = Opened, objectContents = [Object {objectItem = Lighter, objectName = "Lighter", objectContainerState = NotContainer, objectContents = []}]},Object {objectItem = Phone, objectName = "Digital Phone", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Table, objectName = "Table", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Rope, objectName = "Rope", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Hook, objectName = "Hook", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Umbrella, objectName = "Blue Umbrella", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Phone, objectName = "Broken Phone", objectContainerState = NotContainer, objectContents = []}], locLongDescribed = False}, gsInventory = [Object {objectItem = Umbrella, objectName = "Red Umbrella", objectContainerState = NotContainer, objectContents = []}]} | ||
GameState {gsLocations = [Location {locRoom = SouthRoom, locPaths = [Path {pathDirection = North, pathRoom = NorthRoom},Path {pathDirection = South, pathRoom = SouthRoom}], locShortDescription = "You are standing in the middle room at the wooden table.", locLongDescription = "Room looks nice: small, clean, beauty. There is phone and papers on the big wooden table. It is rainy and dark behind the window. A lightnings beat to the lighthouse on a mountain.", locObjects = [Object {objectItem = Drawer, objectName = "Drawer", objectContainerState = Opened, objectContents = [Object {objectItem = Lighter, objectName = "Lighter", objectContainerState = NotContainer, objectContents = []}]},Object {objectItem = Phone, objectName = "Digital Phone", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Umbrella, objectName = "Red Umbrella", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Table, objectName = "Table", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Rope, objectName = "Rope", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Hook, objectName = "Hook", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Umbrella, objectName = "Blue Umbrella", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Phone, objectName = "Broken Phone", objectContainerState = NotContainer, objectContents = []}], locLongDescribed = False},Location {locRoom = NorthRoom, locPaths = [Path {pathDirection = South, pathRoom = SouthRoom},Path {pathDirection = West, pathRoom = Corridor}], locShortDescription = "This is big light room.", locLongDescription = "SouthRoom is the big nice place with many lamps on the walls.", locObjects = [Object {objectItem = Umbrella, objectName = "Blue Umbrella", objectContainerState = NotContainer, objectContents = []}], locLongDescribed = False}], gsCurrentLocation = Location {locRoom = SouthRoom, locPaths = [Path {pathDirection = North, pathRoom = NorthRoom},Path {pathDirection = South, pathRoom = SouthRoom}], locShortDescription = "You are standing in the middle room at the wooden table.", locLongDescription = "Room looks nice: small, clean, beauty. There is phone and papers on the big wooden table. It is rainy and dark behind the window. A lightnings beat to the lighthouse on a mountain.", locObjects = [Object {objectItem = Drawer, objectName = "Drawer", objectContainerState = Opened, objectContents = [Object {objectItem = Lighter, objectName = "Lighter", objectContainerState = NotContainer, objectContents = []}]},Object {objectItem = Phone, objectName = "Digital Phone", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Umbrella, objectName = "Red Umbrella", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Table, objectName = "Table", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Rope, objectName = "Rope", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Hook, objectName = "Hook", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Umbrella, objectName = "Blue Umbrella", objectContainerState = NotContainer, objectContents = []},Object {objectItem = Phone, objectName = "Broken Phone", objectContainerState = NotContainer, objectContents = []}], locLongDescribed = False}, gsInventory = [Object {objectItem = Drawer, objectName = "Drawer", objectContainerState = Opened, objectContents = [Object {objectItem = Lighter, objectName = "Lighter", objectContainerState = NotContainer, objectContents = []}]}]} |