Files
BallCrushBest_GP/Assets/Scripts/ModuleUI/Joast/JoastModel.cs
T
2026-04-20 12:06:34 +08:00

32 lines
644 B
C#

namespace BallKingdomCrush
{
using System.Collections.Generic;
public class JoastModel : BaseModel
{
protected override void OnInit()
{
}
protected override void OnDispose()
{
}
private Queue<JoastData> tipsDatas = new Queue<JoastData>();
public void AddTips(JoastData joastData)
{
if (tipsDatas.Count > 0)
{
return;
}
tipsDatas.Enqueue(joastData);
}
public JoastData GetTips()
{
return tipsDatas.Count > 0 ? tipsDatas.Dequeue() : null;
}
}
}