Package games.pickupbot

Examples of games.pickupbot.Player


    }

    @Override
    public void eventReceived(IrcEvent ircEvent) {
        if (ircEvent.getEventType() == IrcEventType.Kick) {
            this.player = new Player(ircEvent.getArgument("UserKicked"), null);
        } else if (ircEvent.getEventType() == IrcEventType.Part || ircEvent.getEventType() == IrcEventType.Quit) {
            this.player = new Player(ircEvent.getUser(), null);
        }

        if (this.player != null) {
            this.execute();
        }
View Full Code Here


    @Override
    public void messageReceived(IrcMessage message) {
        if (message.getMessageType() == IrcMessageType.ChannelMessage && this.check(message.getMessage().trim())) {
            try {
                this.player = new Player(message.getNick(), message.getHost());

                this.execute();
            } catch (PlayerError e) {
                this.object.getExtensionMessenger().sendNotice(message.getNick(), e.getMessage());
            }
View Full Code Here

    }

    @Override
    public void messageReceived(IrcMessage message) {
        if (message.getMessageType() == IrcMessageType.ChannelMessage && this.check(message.getMessage().trim())) {
            this.player = new Player(message.getNick(), null);

            this.execute();
        }
    }
View Full Code Here

TOP

Related Classes of games.pickupbot.Player

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.