Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- RawToken structure is updated. - Tests fixed.
- Loading branch information
Showing
19 changed files
with
126 additions
and
124 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,11 @@ | |||
module GameLogic.Data.Facade ( | module GameLogic.Data.Facade ( | ||
module GameLogic.Data.Player | module GameLogic.Data.Player | ||
, module GameLogic.Data.Object | , module GameLogic.Data.Object | ||
, module GameLogic.Data.World | |||
, module GameLogic.Data.Game | |||
) where | ) where | ||
|
|
||
import GameLogic.Data.Player | import GameLogic.Data.Player | ||
import GameLogic.Data.Object | import GameLogic.Data.Object | ||
import GameLogic.Data.World | |||
import GameLogic.Data.Game |
4 changes: 2 additions & 2 deletions
4
Amoeba/GameLogic/Runtime/Game.hs → Amoeba/GameLogic/Data/Game.hs
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
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1 @@ | |||
Right [Comment " World definition file",EmptyToken,World "Pandora" [IntProperty "width" 20,IntProperty "height" 20,ObjectProperty "defaultCell" (Object "Empty" "Player0"),CellsProperty "cells" [CellProperty "cell" (10,10) (Object "Karyon" "Player1"),CellProperty "cell" (9,9) (Object "Plasma" "Player1"),CellProperty "cell" (9,10) (Object "Plasma" "Player1"),CellProperty "cell" (9,11) (Object "Plasma" "Player1"),CellProperty "cell" (10,9) (Object "Plasma" "Player1"),CellProperty "cell" (10,11) (Object "Plasma" "Player1"),CellProperty "cell" (11,9) (Object "Plasma" "Player1"),CellProperty "cell" (11,10) (Object "Plasma" "Player1"),CellProperty "cell" (11,11) (Object "Plasma" "Player1"),CellProperty "cell" (15,15) (Object "Karyon" "Player2")]]] | Right [CommentToken " World definition file",EmptyToken,WorldToken "Pandora" [IntProperty "width" 20,IntProperty "height" 20,ObjectProperty "defaultCell" (ObjectToken "Empty" "Player0"),CellsProperty "cells" [CellProperty "cell" (10,10) (ObjectToken "Karyon" "Player1"),CellProperty "cell" (9,9) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (9,10) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (9,11) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (10,9) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (10,11) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (11,9) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (11,10) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (11,11) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (15,15) (ObjectToken "Karyon" "Player2")]]] |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1 @@ | |||
Right [EmptyToken,Comment " General items",EmptyToken,Item "Karyon" [IntResource "lifebound" (0,5000),IntResource "durability" (100,100),IntResource "energy" (300,2000)],EmptyToken,Comment " Conductor",Item "Conductor" [IntResource "lifebound" (0,1000),IntResource "durability" (100,100),IntResource "energy" (0,100)],EmptyToken,Comment " World definition file",EmptyToken,World "Pandora" [IntProperty "width" 20,IntProperty "height" 20,ObjectProperty "defaultCell" (Object "Empty" "Player0"),CellsProperty "cells" [CellProperty "cell" (10,10) (Object "Karyon" "Player1"),CellProperty "cell" (9,9) (Object "Plasma" "Player1"),CellProperty "cell" (9,10) (Object "Plasma" "Player1"),CellProperty "cell" (9,11) (Object "Plasma" "Player1"),CellProperty "cell" (10,9) (Object "Plasma" "Player1"),CellProperty "cell" (10,11) (Object "Plasma" "Player1"),CellProperty "cell" (11,9) (Object "Plasma" "Player1"),CellProperty "cell" (11,10) (Object "Plasma" "Player1"),CellProperty "cell" (11,11) (Object "Plasma" "Player1"),CellProperty "cell" (15,15) (Object "Karyon" "Player2")]]] | Right [EmptyToken,CommentToken " General items",EmptyToken,ItemToken "Karyon" [IntResource "lifebound" (0,5000),IntResource "durability" (100,100),IntResource "energy" (300,2000)],EmptyToken,CommentToken " Conductor",ItemToken "Conductor" [IntResource "lifebound" (0,1000),IntResource "durability" (100,100),IntResource "energy" (0,100)],EmptyToken,CommentToken " World definition file",EmptyToken,WorldToken "Pandora" [IntProperty "width" 20,IntProperty "height" 20,ObjectProperty "defaultCell" (ObjectToken "Empty" "Player0"),CellsProperty "cells" [CellProperty "cell" (10,10) (ObjectToken "Karyon" "Player1"),CellProperty "cell" (9,9) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (9,10) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (9,11) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (10,9) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (10,11) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (11,9) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (11,10) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (11,11) (ObjectToken "Plasma" "Player1"),CellProperty "cell" (15,15) (ObjectToken "Karyon" "Player2")]]] |
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
Oops, something went wrong.