Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Apr 28, 2024
1 parent 79f4412 commit bdea0b4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/services/Bag.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BagPersistence } from '@/store'
import { BagPersistence } from '@/store/state'
import { shuffle } from 'lodash'
import Follower from './enum/Follower'

Expand Down
10 changes: 5 additions & 5 deletions src/services/Bot.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { clone, reverse } from 'lodash'
import Bag from './Bag';
import CardDeck from './CardDeck';
import Action from './enum/Action';
import Bag from './Bag'
import CardDeck from './CardDeck'
import Action from './enum/Action'
import DifficultyLevel from './enum/DifficultyLevel'
import Direction from './enum/Direction';
import Follower from './enum/Follower';
import Direction from './enum/Direction'
import Follower from './enum/Follower'

/**
* Picks follower tile and determines the actions based on the currend card and difficulty level.
Expand Down
8 changes: 4 additions & 4 deletions src/services/Card.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Action from './enum/Action';
import DifficultyLevel from './enum/DifficultyLevel';
import Direction from './enum/Direction';
import Follower from './enum/Follower';
import Action from './enum/Action'
import DifficultyLevel from './enum/DifficultyLevel'
import Direction from './enum/Direction'
import Follower from './enum/Follower'

export default interface Card {
id: string,
Expand Down
2 changes: 1 addition & 1 deletion src/services/CardDeck.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CardDeckPersistence } from '@/store'
import { CardDeckPersistence } from '@/store/state'
import { shuffle } from 'lodash'
import Card from './Card'
import Cards from './Cards'
Expand Down
12 changes: 6 additions & 6 deletions src/services/Cards.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import findMandatory from 'brdgm-commons/src/util/map/findMandatory';
import Card from './Card';
import Action from './enum/Action';
import DifficultyLevel from './enum/DifficultyLevel';
import Direction from './enum/Direction';
import Follower from './enum/Follower';
import findMandatory from 'brdgm-commons/src/util/map/findMandatory'
import Card from './Card'
import Action from './enum/Action'
import DifficultyLevel from './enum/DifficultyLevel'
import Direction from './enum/Direction'
import Follower from './enum/Follower'

const cards = [
{
Expand Down

0 comments on commit bdea0b4

Please sign in to comment.