15 lines
286 B
C#
15 lines
286 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
public static class TaskSystem
|
|||
|
{
|
|||
|
public static void UpdateAmount(this Task self,Index index,int count = 1)
|
|||
|
{
|
|||
|
self.CurrAmountList[index] += count;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|