Skip to content

Commit

Permalink
make controller interface type publisher for webApp
Browse files Browse the repository at this point in the history
  • Loading branch information
TeefanDev committed Dec 3, 2023
1 parent c8683ab commit 347e92e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import de.htwg.se.Chess.util.Observable
import de.htwg.se.Chess.controller.controllerComponent.GameState._
import de.htwg.se.Chess.model._

trait ControllerInterface extends Observable{
import scala.swing.Publisher

trait ControllerInterface extends Observable with Publisher{
var field: Board
def game_state: GameState
def board_to_string_c(): String
Expand Down

0 comments on commit 347e92e

Please sign in to comment.