jass.generators
Class Constant

java.lang.Object
  extended by jass.engine.Out
      extended by jass.generators.Constant
All Implemented Interfaces:
Source

public class Constant
extends Out

Onst. output

Author:
Kees van den Doel (kvdoel@cs.ubc.ca)

Field Summary
protected  float c
           
 
Fields inherited from class jass.engine.Out
buf, bufferSize, bufOld, lock
 
Constructor Summary
Constant(int bufferSize)
           
 
Method Summary
protected  void computeBuffer()
          Compute the next buffer and store in member float[] buf.
 float getConstant()
           
 void setConstant(float c)
           
 
Methods inherited from class jass.engine.Out
clearBuffer, copyToOld, getBuffer, getBuffer, getBufferSize, getTime, peekAtBuffer, resetTime, setBufferSize, setTime, setTimeAndNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c

protected float c
Constructor Detail

Constant

public Constant(int bufferSize)
Method Detail

setConstant

public void setConstant(float c)

getConstant

public float getConstant()

computeBuffer

protected void computeBuffer()
Description copied from class: Out
Compute the next buffer and store in member float[] buf. This is the core processing method which will be implemented for each generator.

Specified by:
computeBuffer in class Out