Skip to content
Snippets Groups Projects
GameEvent.java 415 B
Newer Older
jan-schw's avatar
jan-schw committed
package com.example.tictactoe_game;

import javafx.event.Event;
import javafx.event.EventType;

public class GameEvent extends Event {
jan-schw's avatar
jan-schw committed
    public static final EventType<GameEvent> VICTORY_EVENT = new EventType<>("VICTORY_EVENT");
    public static final EventType<GameEvent> DRAW_EVENT = new EventType<>("DRAW_EVENT");
jan-schw's avatar
jan-schw committed

    public GameEvent(EventType<? extends Event> eventType) {
        super(eventType);
    }
}