package Ġrs . d us k . engine . entity . character . update . visual Ċ Ċ import Ġrs . d us k . engine . entity . character . npc . NPC Ċ import Ġrs . d us k . engine . entity . character . player . Player Ċ import Ġrs . d us k . engine . entity . character . update . Visual Ċ Ċ /** Ċ Ġ* Ġ@ author ĠG reg ĠH ib ber d Ġ< greg @ greg hib ber d . com > Ċ Ġ* Ġ@ since ĠApril Ġ 2 5 , Ġ 2 0 2 0 Ċ Ġ*/ Ċ data Ġclass ĠColour Overlay ( ĊĠĠĠ Ġvar Ġdelay : ĠInt Ġ= Ġ 0 , ĊĠĠĠ Ġvar Ġduration : ĠInt Ġ= Ġ 0 , ĊĠĠĠ Ġvar Ġcolour : ĠInt Ġ= Ġ 0 Ċ ) Ġ: ĠVisual Ċ Ċ const Ġval ĠP LAYER _ CO LO UR _ OVER LAY _ MASK Ġ= Ġ 0 x 2 0 0 0 0 Ċ Ċ const Ġval ĠN PC _ CO LO UR _ OVER LAY _ MASK Ġ= Ġ 0 x 2 0 0 Ċ Ċ fun ĠPlayer . flag Colour Overlay () Ġ= Ġvisual s . flag ( PLAYER _ CO LO UR _ OVER LAY _ MASK ) Ċ Ċ fun ĠN PC . flag Colour Overlay () Ġ= Ġvisual s . flag ( NPC _ CO LO UR _ OVER LAY _ MASK ) Ċ Ċ val ĠPlayer . colour Overlay : ĠColour Overlay ĊĠĠĠ Ġget () Ġ= Ġvisual s . get Or Put ( PLAYER _ CO LO UR _ OVER LAY _ MASK ) Ġ{ ĠColour Overlay () Ġ} Ċ Ċ val ĠN PC . colour Overlay : ĠColour Overlay ĊĠĠĠ Ġget () Ġ= Ġvisual s . get Or Put ( NPC _ CO LO UR _ OVER LAY _ MASK ) Ġ{ ĠColour Overlay () Ġ} ĊĊ