Class HTAmountView.Mutable

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit setAmount(Integer amount) 保持しているリソースの量を変更します。
      • Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView

        getAmount, getCapacity, getLevelAsFloat, getLevelAsFraction, getNeeded, isEmpty
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTAmountView.Mutable

        HTAmountView.Mutable()
    • Method Detail

      • setAmount

         abstract Unit setAmount(Integer amount)

        保持しているリソースの量を変更します。

        Parameters:
        amount - 新しい量