< Summary

Information
Class: Safarimacik.Model.PlantEventArgs
Assembly: Safarimacik
File(s): /builds/szofttech-ab-2025/group-03/safarimacik/model/PlantEventArgs.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 13
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_RegeneratingPlant()100%11100%
get_Position()100%11100%

File(s)

/builds/szofttech-ab-2025/group-03/safarimacik/model/PlantEventArgs.cs

#LineLine coverage
 1using Godot;
 2
 3
 4namespace Safarimacik.Model;
 5
 6
 7/// <summary>
 8/// Provides data for Model.GameModel.PlantStateChanged event.
 9/// </summary>
 110public class PlantEventArgs(RegeneratingPlant? regeneratingPlant, Vector2I position) : EventArgs {
 111  public RegeneratingPlant? RegeneratingPlant => regeneratingPlant;
 112  public Vector2I Position => position;
 13}