001    package components;
002    
003    import java.util.Map;
004    
005    /**
006     * <p>
007     * a SquareFactory is an immutable object that creates cube-shaped bumpers  and extends GameObjectFactory
008     * </p>
009     */
010    
011    public class SquareFactory extends GameObjectFactory<SquareBumper> {
012    
013            //see specs of super class
014            public SquareBumper newInstance(Map<String,String> p, GameSpace g) {
015                    return new SquareBumper(p, g);
016            }
017            
018    
019    }