Example #1
0
 public SpawnConfig(SpawnRequestType request, Action <Entity, Point2D> spawnCallback)
 {
     Request       = request;
     SpawnCallback = spawnCallback;
 }
Example #2
0
 public void Init(SpawnRequestType request)
 {
     Request = request;
 }
 public PreventHealthSpawnConfig(SpawnRequestType request, int minHealth)
 {
     Request   = request;
     MinHealth = minHealth;
 }
Example #4
0
 public KeyboardSpawnConfig(KeyCode key, SpawnRequestType request)
 {
     Key     = key;
     Request = request;
 }
Example #5
0
 public SpawnComponent Init(SpawnRequestType request)
 {
     Request = request;
     return(this);
 }
Example #6
0
 public bool Equals(SpawnRequestType other)
 {
     return(_value == other._value);
 }
Example #7
0
 public SpawnByEventConfig(SpawnRequestType request)
 {
     Request = request;
 }