/*********
 ** Protected methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="machine">The underlying machine.</param>
 /// <param name="location">The in-game location.</param>
 /// <param name="tile">The tile covered by the machine.</param>
 /// <param name="machineTypeId">A unique ID for the machine type, or <c>null</c> to generate it from the type name.</param>
 protected GenericObjectMachine(TMachine machine, GameLocation location, Vector2 tile, string machineTypeId = null)
     : base(machine, location, BaseMachine.GetTileAreaFor(tile), machineTypeId)
 {
 }
Exemple #2
0
 /*********
 ** Protected methods
 *********/
 /// <summary>Construct an instance.</summary>
 /// <param name="machine">The underlying machine.</param>
 /// <param name="location">The in-game location.</param>
 /// <param name="tile">The tile covered by the machine.</param>
 protected GenericObjectMachine(TMachine machine, GameLocation location, Vector2 tile)
     : base(machine, location, BaseMachine.GetTileAreaFor(tile))
 {
 }