Package mage.game.command

Examples of mage.game.command.Commander


                            break;
                        case EXILED:
                            game.getExile().getPermanentExile().add(card);
                            break;
                        case COMMAND:
                            game.addCommander(new Commander(card));
                            break;
                        case LIBRARY:
                            if (flag) {
                                owner.getLibrary().putOnTop(card, game);
                            } else {
View Full Code Here


                    break;
                case EXILED:
                    game.getExile().getPermanentExile().add(this);
                    break;
                case COMMAND:
                    game.addCommander(new Commander(this));
                    break;
                case LIBRARY:
                    if (flag) {
                        game.getPlayer(ownerId).getLibrary().putOnTop(this, game);
                    }
View Full Code Here

                        commandList.add(new EmblemView(emblem, sourceCard));
                    }
                }
            }
            else if(commandObject instanceof Commander){
                Commander commander = (Commander)commandObject;
                if(commander.getControllerId().equals(this.playerId)){
                    Card sourceCard = game.getCard(commander.getSourceId());
                    if(sourceCard != null){
                        commandList.add(new CommanderView(commander, sourceCard));
                    }
                }
            }
View Full Code Here

TOP

Related Classes of mage.game.command.Commander

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.