mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-10-09 08:36:22 +00:00
no message
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user