Package voodoo.collection.gameplay

Examples of voodoo.collection.gameplay.Game


   
    private static int PLAYER_LIFE = 10;
    private int _numPlayers = 2; // For now
   
    public GameBeginRulesCard() {
        Game game = Game.getInstance();
       
        game.resetEndCheck();
       
        // Register for game begin event
        game.registerForEvent( this, Event.INIT_GAME_EVENT );
        _action.setEffect( new CreatePlayersEffect( _numPlayers ) ); // Must do this first!
        _action.addEffect( new SetAllPlayersLifeEffect( PLAYER_LIFE ) );
    }
View Full Code Here

TOP

Related Classes of voodoo.collection.gameplay.Game

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.