-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cleanup before store implementation * add artifact details * layout for the store * get items on purchase logic
- Loading branch information
Showing
14 changed files
with
537 additions
and
35 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
const store = [ | ||
{ | ||
"diamond": [ | ||
"card_design:prime", | ||
"card_design:pixels", | ||
"arena_design:nightscape", | ||
"game_mat:castle", | ||
"game_mat:sanctuary" | ||
], | ||
}, | ||
{"gold": [ | ||
"card_design:piper", | ||
"card_design:azure", | ||
"arena_design:infinitesnake", | ||
"arena_design:flowerpot" | ||
],}, | ||
{"silver": [ | ||
"game_mat:lava", | ||
"game_mat:cloudbursts", | ||
"card_design:flake" | ||
],}, | ||
{"bronze": [ | ||
"card_design:default", | ||
"arena_design:dashedlines", | ||
"arena_design:doublepipes" | ||
]}, | ||
]; |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:literature/models/playing_cards.dart'; | ||
|
||
// ignore: must_be_immutable | ||
class PrimeCardDesign extends StatelessWidget { | ||
PrimeCardDesign({ | ||
this.cards | ||
}); | ||
|
||
List<PlayingCard> cards; | ||
|
||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return new Text("Prime"); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
var rarity = [ | ||
{ | ||
"tier": "diamond", | ||
"rarity": 5 | ||
}, | ||
{ | ||
"tier": "gold", | ||
"rarity": 15 | ||
}, | ||
{ | ||
"tier": "silver", | ||
"rarity": 20 | ||
}, | ||
{ | ||
"tier": "bronze", | ||
"rarity": 60 | ||
}, | ||
]; |
Oops, something went wrong.