Package cn.com.hotmaze.util

Examples of cn.com.hotmaze.util.Cell


   * check this player can move to this target
   */
  @Override
  public boolean canMoveToTarget(Vec2 target) {
    // TODO Auto-generated method stub
    Cell cell = map.getCellInfoByVec(target);
    if(cell.getTerrain() == 0){
      return true;
    }else if(cell.getTerrain() == 1){
      return false;
    }
   
    return false;
  }
View Full Code Here

TOP

Related Classes of cn.com.hotmaze.util.Cell

Copyright © 2018 www.massapicom. 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.