generated from admin/template
Обновить works/Kotlin/works/lab-06/Readme.md
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
## Ключевой код
|
||||
```csharp
|
||||
ffun calcDamage(power: Int, multiplier: Double = 1.0): Int = (power * multiplier).toInt()
|
||||
fun calcDamage(power: Int, multiplier: Double = 1.0): Int = (power * multiplier).toInt()
|
||||
|
||||
fun checkStatus(hp: Int): String {
|
||||
if (hp >0)
|
||||
|
||||
Reference in New Issue
Block a user