org.jcurl.demo.tactics.sg
Class SGRockFactory

Package class diagram package SGRockFactory
java.lang.Object
  extended by org.jcurl.demo.tactics.sg.SGRockFactory
All Implemented Interfaces:
Factory
Direct Known Subclasses:
SGRockFactory.Fancy

public abstract class SGRockFactory
extends Object
implements Factory

Creates a pickable node displaying one rock, assuming a RIGHT HANDED parent coordinate system.

Version:
$Id:PRockFactory.java 795 2008-03-19 13:40:42Z mrohrmoser $
Author:
M. Rohrmoser

Nested Class Summary
static class SGRockFactory.Fancy
           
static class SGRockFactory.Simple
           
 
Field Summary
(package private) static double EPSILON
           
 
Constructor Summary
SGRockFactory()
           
 
Method Summary
 SGNode newInstance(int i16)
           
protected abstract  SGNode newInstance(int i8, boolean isDark)
           
protected static SGShape node(Shape s, Paint p, Stroke str, Paint sp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPSILON

static final double EPSILON
See Also:
Constant Field Values
Constructor Detail

SGRockFactory

public SGRockFactory()
Method Detail

node

protected static SGShape node(Shape s,
                              Paint p,
                              Stroke str,
                              Paint sp)

newInstance

public SGNode newInstance(int i16)

newInstance

protected abstract SGNode newInstance(int i8,
                                      boolean isDark)


Copyright © 2005-2009 JCurl.mro.name. All Rights Reserved.