J2MEKey.java :  » Game » loon-simple » org » loon » framework » game » simple » core » Android Open Source

Android Open Source » Game » loon simple 
loon simple » org » loon » framework » game » simple » core » J2MEKey.java
package org.loon.framework.game.simple.core;
/**
 * Copyright 2008 - 2009
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 *
 * @project loonframework
 * @author chenpeng  
 * @emailceponline@yahoo.com.cn 
 * @version 0.1
 */
public interface J2MEKey {

  public static final int DOWN = 6;

  public static final int LEFT = 2;

  public static final int RIGHT = 5;

  public static final int UP = 1;

  public static final int FIRE = 8;

  public static final int GAME_A = 9;

  public static final int GAME_B = 10;

  public static final int GAME_C = 11;

  public static final int GAME_D = 12;

  public static final int KEY_NUM0 = 48;

  public static final int KEY_NUM1 = 49;

  public static final int KEY_NUM2 = 50;

  public static final int KEY_NUM3 = 51;

  public static final int KEY_NUM4 = 52;

  public static final int KEY_NUM5 = 53;

  public static final int KEY_NUM6 = 54;

  public static final int KEY_NUM7 = 55;

  public static final int KEY_NUM8 = 56;

  public static final int KEY_NUM9 = 57;

  public static final int KEY_POUND = '#';

  public static final int KEY_STAR = '*';
  
}

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.