⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gaevent.java

📁 CreatLog luke 俄罗斯方块
💻 JAVA
字号:
package javagapi;class GAEvent {    // Start, Redraw, Terminate, MenuSettings only have a type.    public byte type; // in C this was GAEventType (an enum).    // Depending on type, GAEvent may have more variables.    // Keyboard    public byte              key; // enum KeySym    public KeyboardState     keyboardState = new KeyboardState();    public boolean           press;    // Timer    public byte               timerId; // Was enum GATimerId    /* ReadByte    unsigned char            byte;    */    /* ComOpen    uint32                   SessionID;    uint16                   Length;    unsigned char           *TargetInfo; // A data pointer, the length is given by Length    //ComOpenResponse    uint32                   SessionID;    GA_StatusCode_t          Result;    OBEX_Handle_t            Handle;    // ComPut    uint32                   SessionID;    uint16                   FileNameLength;    char                    *FileName; // A null terminated string    uint16                   MediaOrigin;    MSG_SubscriberNumber_t  *PhoneNumber; // A null terminated string    uint16                   DataLength;    unsigned char           *Data; // A data pointer, the length is given by DataLength    // ComPutIP    uint16                   MediaOrigin;    uint16                   DataLength;    IP_Socket_t              IP_Socket;    // ComPutResponse    uint32                   SessionID;    GA_StatusCode_t          Result;    // ComClose    uint32                   SessionID;    // ComCloseResponse    uint32                   SessionID;    GA_StatusCode_t          Result;    // GAComBTInqResponse    GAComBTInqResponse_t    *BTDevicesList;    sint16                   NrOfBTDevices;    */    // GAHighScore    boolean                  ClearHighScore;    boolean                  ViewHighScore;    boolean                  SendHighScore;    // GAReset    boolean                  ClearResume;    // GASelectPic    byte                    SelectPicResult; // was sint8}class KeyboardState {    boolean ShiftUp;    boolean ShiftDown;    boolean FlipClosed;    //    KeySource_t KeySource;}

⌨️ 快捷键说明

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