User Tools

Site Tools


communityapi:ebf:comp_number_display

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
communityapi:ebf:comp_number_display [2021/11/08 15:57]
minotorious [initDisplay]
communityapi:ebf:comp_number_display [2021/11/08 15:57] (current)
minotorious [initDisplay]
Line 170: Line 170:
  
 Initialises the number display.\\ Initialises the number display.\\
-In case you did not use the [[communityapi/​ebf/​building_function_number_display|BUILDING_FUNCTION_NUMBER_DISPLAY]] this method must be called before a value can be set, you have to call this method in the ''​init()''​ method of your custom component that will be setting the display values.\\+In case you did not use the [[communityapi/​ebf/​building_function_number_display|BUILDING_FUNCTION_NUMBER_DISPLAY]] this method must be called before a value can be set, you have to call this method in the ''​init()''​ method of your custom component that will be setting the display values. 
 **An Example of how this is done can be found in the Ruler mod, in case of problems contact me on discord!** **An Example of how this is done can be found in the Ruler mod, in case of problems contact me on discord!**
  
communityapi/ebf/comp_number_display.txt · Last modified: 2021/11/08 15:57 by minotorious