/// <summary> /// Initializes a new instance of the <see cref="Obstacle"/> class with the specified /// <see cref="Village"/> instance and <see cref="ObstacleData"/>. /// </summary> /// /// <param name="village"> /// <see cref="Village"/> instance which owns this <see cref="Obstacle"/>. /// </param> /// /// <param name="data"><see cref="ObstacleData"/> representing the data of the <see cref="Obstacle"/>.</param> /// /// <exception cref="ArgumentNullException"><paramref name="village"/> is null.</exception> /// <exception cref="ArgumentNullException"><paramref name="data"/> is null.</exception> public Obstacle(Village village, ObstacleData data) : base(village, data) { _timer = new TickTimer(); }
// Constructor used to load the VillageObject from a JsonTextReader. internal Obstacle() : base() { _timer = new TickTimer(); }