Examples of input()


Examples of org.spout.api.entity.Player.input()

  // TODO: vanilla input
  @Override
  public void onTick(float dt) {
    Player player = (Player) getOwner();
    Transform ts = player.getPhysics().getTransform();
    PlayerInputState inputState = player.input();
    PhysicsComponent sc = player.getPhysics();

    Vector3f offset = Vector3f.ZERO;
    float speed = 50;
    if (inputState.getForward()) {
View Full Code Here

Examples of plar.core.ElementPlayer.input()

        ElementPlayer pme = (ElementPlayer)me;
        KeyFlag newKeys = popKeys();
        if(newKeys == null && currentKeys!=null && currentKeys.Key!=KeyFlag.NONE) newKeys=currentKeys;
        if(newKeys == null) return;
        pme.input(newKeys);
        currentKeys = newKeys;
    }

    /**
     * Called by the game when a new keySet is sent. add it to the queue
View Full Code Here

Examples of pt.opensoft.html.HtmlRenderer.input()

     * @see HtmlRenderer
     */
    public String renderHtml() {
        HtmlRenderer html = new HtmlRenderer();
        if (this.isEnabled()) {
            html = html.input(this.getName(),this.value, this.size, this.max);
        } else {
            html = html.input("m_" + this.getName(),this.value, this.size, this.max, !this.isEnabled());
            html = html.inputHidden(this.getName(), this.value);
        }
        return html.toString();
View Full Code Here

Examples of weka.filters.Filter.input()

    i = 0;
    while (source.hasMoreElements(testRaw)) {
      // next instance
      inst = source.nextElement(testRaw);
      if (filter != null) {
  filter.input(inst);
  filter.batchFinished();
  inst = filter.output();
      }
     
      cnum = -1;
View Full Code Here

Examples of weka.filters.unsupervised.attribute.Remove.input()

    Instances clusterTrain = Filter.useFilter(train, removeClass);
    clusterer.buildClusterer(clusterTrain);
          trainHeader = clusterTrain;
    while (source.hasMoreElements(train)) {
      inst = source.nextElement(train);
      removeClass.input(inst);
      removeClass.batchFinished();
      Instance clusterTrainInst = removeClass.output();
      ((UpdateableClusterer) clusterer).updateClusterer(clusterTrainInst);
    }
    ((UpdateableClusterer) clusterer).updateFinished();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.