package com.wing.poem.control;
import java.util.ArrayList;
import java.util.List;
import com.wing.poem.vo.CheckPoint;
import com.wing.poem.vo.Level;
public class DBAdapter {
private static DBAdapter dbAdapter = new DBAdapter();
private DBAdapter() {
// TODO Auto-generated constructor stub
}
public static DBAdapter getInstance(){
return dbAdapter;
}
public CheckPoint getCheckPoint(int level,int id){
if(level>3||id>=3)
return null;
CheckPoint ck = CheckPoint.getTempCheckPoint(level,id);
return ck;
}
public List<CheckPoint> getCheckPointList(int level){
List<CheckPoint> list = new ArrayList<CheckPoint>();
for(int i=0;i<3;i++){
list.add(getCheckPoint(level,i));
}
return list;
}
}
最近下载更多
最近浏览更多
anjuw521 LV1
2024年7月10日
AIWU1234 LV2
2024年6月9日
求学的熊猫 LV11
2024年6月3日
yhwyhw1 LV2
2023年12月19日
lmroman LV8
2023年4月27日
sunny1314
2023年3月30日
暂无贡献等级
yzhszz LV3
2022年12月27日
不正经的90后程序猿 LV1
2022年9月12日
17366635519 LV1
2022年8月30日
1532593037 LV8
2022年6月3日

