Package SuperCraft

Source Code of SuperCraft.Player

package SuperCraft;
import Engine.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import Engine.PhysicEngine.*;
import Engine.Tools.EnterHaken;
import static org.lwjgl.opengl.GL11.*;
public class Player extends PlayerController
{
  EnterHaken eh;
    public Player(Engine engine){
        super(engine);
        eh = new EnterHaken(this);
    engine.AddRenderComponent(eh);
    }
   
    public void init(Physic physic){
      System.out.println("Player INIT");
        super.IDLEimg = Funktions.loadTexture("Player.PNG", GL_LINEAR);
        super.init(physic);
        super.MaxSpeed = 20;
       
    }

  @Override
  public void RenderObject_init() {
    // TODO Auto-generated method stub
   
  }

  @Override
  public void RenderObject_draw() {
    // TODO Auto-generated method stub
   
  }

  @Override
  public void DrawWeapon() {
    // TODO Auto-generated method stub
    eh.BasicTool_draw();
   
  }
 
  
}
TOP

Related Classes of SuperCraft.Player

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.