Package eas.users.demos.tetris

Examples of eas.users.demos.tetris.TetrisAgentI


        AbstractTetrisAgent nextAgent;
        Vector2D pos = new Vector2D(this.getFeld().length / 2, 2);
        this.removeAgent(0);
       
        switch (tileType) {
        case 0: nextAgent = new TetrisAgentI(0, this, this.getParCollection()); break;
        case 1: nextAgent = new TetrisAgentZ(0, this, this.getParCollection()); break;
        case 2: nextAgent = new TetrisAgentS(0, this, this.getParCollection()); break;
        case 3: nextAgent = new TetrisAgentL(0, this, this.getParCollection()); break;
        case 4: nextAgent = new TetrisAgentJ(0, this, this.getParCollection()); break;
        case 5: nextAgent = new TetrisAgentO(0, this, this.getParCollection()); break;
View Full Code Here

TOP

Related Classes of eas.users.demos.tetris.TetrisAgentI

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.