Note that there are some explanatory texts on larger screens.

plurals
  1. POImprove on a 13-parameter constructor
    text
    copied!<p>Thank Microsoft for Intellisense and Atomineer for Atomineer Utils...All of these parameters are <em>required and immutable</em>.</p> <p>Is there a better way to do this?</p> <pre><code>/************************************************************************************************** * &lt;summary&gt;Initializes a new instance of the ADTBattleCharacter class.&lt;/summary&gt; * &lt;param name="name"&gt; The name of the character.&lt;/param&gt; * &lt;param name="max_HP"&gt; The maximum hit points.&lt;/param&gt; * &lt;param name="max_MP"&gt; The maximum magic power.&lt;/param&gt; * &lt;param name="strength"&gt; The strength.&lt;/param&gt; * &lt;param name="agility"&gt; The agility.&lt;/param&gt; * &lt;param name="attack_power"&gt; The attack power.&lt;/param&gt; * &lt;param name="defense_power"&gt;The defense power.&lt;/param&gt; * &lt;param name="gold"&gt; The gold carried by the character.&lt;/param&gt; * &lt;param name="experience"&gt; The experience the character is worth.&lt;/param&gt; * &lt;param name="stop_resist"&gt; The character's resistance to stopspell.&lt;/param&gt; * &lt;param name="sleep_resist"&gt; The character's resistance to sleep.&lt;/param&gt; * &lt;param name="hurt_resist"&gt; The character's resistance to hurt/hurtmore.&lt;/param&gt; * &lt;param name="spell_list"&gt; Available spells.&lt;/param&gt; **************************************************************************************************/ ADTBattleCharacter(std::string name, unsigned char max_HP, unsigned char max_MP, unsigned char strength, unsigned char agility, unsigned char attack_power, unsigned char defense_power, unsigned short gold, unsigned short experience, double stop_resist, double sleep_resist, double hurt_resist, std::bitset&lt;SPELL_MAX&gt; spell_list); </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload