Skip to content

Commit 74f236f

Browse files
committed
Game: Added remaining missing methods
1 parent 2d7824f commit 74f236f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Source/Statics/Game.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,16 @@ public static class PlayerSettings
249249
public static string LanguageCode => "en";
250250
}
251251

252+
/// <value>
253+
/// Adds an amount of strikes on the bomb.
254+
/// </value>
255+
public static Action<GameObject, int> AddStrikes => (gameObject, amount) => Logger.Self($"Adding the bomb's strike count with {amount}.");
256+
257+
/// <value>
258+
/// Sets an amount of strikes on the bomb.
259+
/// </value>
260+
public static Action<GameObject, int> SetStrikes => (gameObject, amount) => Logger.Self($"Setting the bomb's strike count to {amount}.");
261+
252262
/// <value>
253263
/// Gets the game's internal bomb component, not to be mistaken with <see cref="KMBomb"/>.
254264
/// </value>

0 commit comments

Comments
 (0)