Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Record.java
Package: lianliankan.rar [view]
Upload User: jennyfly
Upload Date: 2021-08-10
Package Size: 735k
Code Size: 1k
Category:
Games
Development Platform:
Java
- package model;
- /**
- * 本类用于存储记录,并提供一个方法接口供判断是否打破记录
- *
- * @author 何晓飞
- *
- */
- public class Record {
- private int seconds;
- private int level;
- /**
- *
- * @param level
- * 关数
- * @param seconds
- * 闯关时间
- */
- public Record(int level, int seconds) {
- this.seconds = seconds;
- this.level = level;
- }
- /**
- *
- * @return 记录所在关数
- */
- public int getLevel() {
- return this.level;
- }
- /**
- *
- * @return 闯关时间
- */
- public int getSeconds() {
- return this.seconds;
- }
- }