enum SubCell => int & Dictionary<SubCell, WVec> => WVec[]
This commit is contained in:
@@ -63,13 +63,12 @@ namespace OpenRA
|
||||
public CPos Value(World world) { return value; }
|
||||
}
|
||||
|
||||
public class SubCellInit : IActorInit<SubCell>
|
||||
public class SubCellInit : IActorInit<int>
|
||||
{
|
||||
[FieldFromYamlKey] public readonly int value = 0;
|
||||
public SubCellInit() { }
|
||||
public SubCellInit(int init) { value = init; }
|
||||
public SubCellInit(SubCell init) { value = (int)init; }
|
||||
public SubCell Value(World world) { return (SubCell)value; }
|
||||
public int Value(World world) { return value; }
|
||||
}
|
||||
|
||||
public class CenterPositionInit : IActorInit<WPos>
|
||||
|
||||
Reference in New Issue
Block a user