mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
28 lines
668 B
C#
28 lines
668 B
C#
using HPJ.Simulation.Enums;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace HPJ.Simulation.Map
|
|
{
|
|
[System.Serializable]
|
|
public class ChangeMapJob
|
|
{
|
|
public List<(IntVector2, TileTypes)> TilesToBeChanged;
|
|
|
|
public ChangeMapJob(List<(IntVector2, TileTypes)> TilesChanged)
|
|
{
|
|
TilesToBeChanged = TilesChanged;
|
|
}
|
|
|
|
public ChangeMapJob()
|
|
{
|
|
TilesToBeChanged = new List<(IntVector2, TileTypes)>();
|
|
}
|
|
|
|
public void AddTileChange(IntVector2 TileIndex, TileTypes TypeChange)
|
|
{
|
|
TilesToBeChanged.Add((TileIndex, TypeChange));
|
|
}
|
|
}
|
|
}
|