leftflipper.java

来自「基于JAVA的跳球游戏」· Java 代码 · 共 42 行

JAVA
42
字号
/*
 * LeftFlipper.java
 *
 * Created on 2008年5月11日, 下午8:35
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package gizmos;
import gizmoball_demo.*;
/**
 *
 * @author ICE
 */
public class LeftFlipper extends Flipper {
   
    private int orientation;
    /** Creates a new instance of LeftFlipper */
    public LeftFlipper(java.lang.String name,int x,int y,int orientation)
    {
        this.name=name;
        this.x = x;
        this.y = y;
        this.orientation=orientation;
    }
    //
   /* public int getDx(){}
    public int getDy(){}
    public org.w3c.dom.Element toXML(boolean compatible){}
    public void setOrientation(int orientation)
    {
       this.orientation=orientation;
    }*/
    public int getOrientation()
   {
       return orientation;
   }
    
    
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?