Ejemplo n.º 1
0
        public CollisionControllerFactory()
        {
            shieldCol       = new ShieldCollisionController(ShieldListFactory.getFactory.getShieldList());
            alienCol        = new AlienCollisionController(MovementControllerFactory.getFactory.getController());
            wallCol         = new WallCollisionController(GridWallCollisionListFactory.getFactory().getList());
            playerCol       = new PlayerCollisionController(PlayerInputControllerFactory.getFactory.getController());
            projectileCol   = new ProjectileCollisionController(ProjectileControllerFactory.instance.controller);
            alienSubjectCol = new GridSubjectCollisionController(CollisionSubjectFactory.getFactory.getAlienSubject());
            alienVictoryCol = new GridSubjectCollisionController(CollisionSubjectFactory.getFactory.getAlienVictorySubject());
            ufoCol          = new UFOCollisionController(UFOSpawnControllerFactory.getFactory.getController);

            colSetup();
        }
 public override void visit(ShieldCollisionController c)
 {
     con.checkShieldCollision(c.get());
 }
Ejemplo n.º 3
0
 public virtual void visit(ShieldCollisionController c)
 {
 }