Package match.event

Examples of match.event.DisqualifyPlayerEvent


    @Override
    public Event execute(Match match) {
        MatchState state = match.getState();
        if (state == MatchState.ended || state == MatchState.notStarted)
            throw new IllegalStateException(state.toString());
        return new DisqualifyPlayerEvent(this.getPlayerModel(), this.getMatchId());
    }
View Full Code Here

TOP

Related Classes of match.event.DisqualifyPlayerEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.