FunctionsItemColorStateBuildItemColorStateBuild CallableItemColorStateBuild(c: Character, item: Item, x: number, y: number, width: number, height: number): voidBuilds the item color UI's current state based on the provided character, item and position parameters. This only rebuilds the state if needed.Parametersc: CharacterThe character being coloreditem: ItemThe item being coloredx: numberThe x-coordinate at which to draw the UIy: numberThe y-coordinate at which to draw the UIwidth: numberThe width the UI should be drawn atheight: numberThe height the UI should be drawn atReturns voidNothing
Builds the item color UI's current state based on the provided character, item and position parameters. This only rebuilds the state if needed.