Compare commits
3 Commits
95228cbd51
...
7a46bed011
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a46bed011 | ||
|
|
9ecf91282e | ||
|
|
0526f99464 |
@@ -45,6 +45,7 @@ trait Roundlogcomponent {
|
||||
|
||||
/**
|
||||
* Immutable broke us. If you don't know why, increase this counter: 1
|
||||
* ...
|
||||
* @param round The current round.
|
||||
* @return Returns the current round.
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
package de.knockoutwhist.utils
|
||||
|
||||
trait CustomPlayerQueueComponent[A] extends Iterable[A] {
|
||||
def currentIndex: Int
|
||||
|
||||
def nextPlayer(): A
|
||||
|
||||
def remove(player: A): Int
|
||||
|
||||
def resetAndSetStart(player: A): Boolean
|
||||
|
||||
def iteratorWithStart(start: Int = 0): Iterator[A]
|
||||
|
||||
def fromFirstIterator: Iterator[A]
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package de.knockoutwhist.utils
|
||||
|
||||
class CustomPlayerQueueMock {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user