All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iohao.game.widget.light.timer.task.package-info Maven / Gradle / Ivy

There is a newer version: 21.15
Show newest version
/*
 * ioGame
 * Copyright (C) 2021 - present  渔民小镇 ([email protected][email protected]) . All Rights Reserved.
 * # iohao.com . 渔民小镇
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see .
 */
/**
 * 解决问题
 * 
 *     一个任务延时器, 达到指定时间则执行业务。
 *     该任务延时器也支持被移除(在满足某个条件后)
 * 
*

* 功能特点 *

 *     将来某个时间执行该任务
 *     暂停任务
 *     取消(删除)任务
 *     显示的取消任务
 * 
*

* 业务举例 *

 *     在游戏开始前,房间创建后需要在1分钟后自动解散房间(将来某个时间执行该任务)。
 *     在房间解散前,每当有一个玩家加入房间,则解散房间延迟(暂停任务)30秒
 *     当房间人数大于5人时,则取消房间自动解散规则(显示的取消任务)
 * 
* * @author 渔民小镇 * @date 2021-12-26 */ package com.iohao.game.widget.light.timer.task;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy