void Unit::SetFood(int)
SetFood · Unit
Exact signature
Section titled “Exact signature”void Unit::SetFood(int)Description
Section titled “Description”Stores the supplied food value on a resolved Unit and dispatches a value-dependent virtual state update.
Parameters and return type
Section titled “Parameters and return type”Return type: void
The member is called on an object. Its receiver is not repeated among this signature’s arguments.
| Position | Type |
|---|---|
| 1 | int |
Read and share
Section titled “Read and share”Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.