Package com.monkygames.wo.avatar

Source Code of com.monkygames.wo.avatar.Model

/*
* See COPYING in top-level directory.
*/
package com.monkygames.wo.avatar;

// === jme imports === //
import com.jme3.scene.Node;

/**
* Contains the 3D information for the Avatar.
* @version 1.0
*/
public class Model{

    /**
     * The root of this model.
     **/
    public Node root;
    public Node beard;
    public Node body;
    public Node eye;
    public Node eyebrow;
    public Node face;
    public Node glasses;
    public Node hair;
    public Node head;
    public Node mole;
    public Node mouth;
    public Node mustache;
    public Node nose;
    public Node shirt;
    public Node skin;

// ============= Constructors ============== //
    public Model(){
  root = new Node("Model");
    }
// ============= Public Methods ============== //
    public void load(Node head, Node body){
  this.head = head;
  this.body = body;
  head.attachChild(body);
  root.attachChild(head);
    }
// ============= Protected Methods ============== //
// ============= Private Methods ============== //
// ============= Implemented Methods ============== //
// ============= Extended Methods ============== //
// ============= Internal Classes ============== //
// ============= Static Methods ============== //

}
/*
* Local variables:
*  c-indent-level: 4
*  c-basic-offset: 4
* End:
*
* vim: ts=8 sts=4 sw=4 noexpandtab
*/ 
TOP

Related Classes of com.monkygames.wo.avatar.Model

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.