Gets the weight attribute of the Equipment object. @param aPC The PC that has this Equipment @return The weight value
(final PlayerCharacter aPC)
| 2089 | * @return The weight value |
| 2090 | */ |
| 2091 | public Float getWeight(final PlayerCharacter aPC) |
| 2092 | { |
| 2093 | if (virtualItem) |
| 2094 | { |
| 2095 | return (float) 0.0; |
| 2096 | } |
| 2097 | return (float) getWeightAsDouble(aPC); |
| 2098 | } |
| 2099 | |
| 2100 | /** |
| 2101 | * get base weight as double |
nothing calls this directly
no test coverage detected