package Ġdev . program ad orth i . nor ris . ui . fake . component Ċ Ċ class ĠCh ips Component Actions Fake Ġ{ ĊĠĠĠ Ġprivate Ġvar Ġchip : ĠString ? Ġ= Ġnull ĊĠĠĠ Ġprivate Ġvar Ġhas Chips : ĠBoolean Ġ= Ġfalse ĊĊĠĠĠ Ġfun Ġchip (): ĠString ? Ġ= Ġchip ĊĠĠĠ Ġfun Ġhas Chips (): ĠBoolean Ġ= Ġhas Chips ĊĊĠĠĠ Ġfun Ġon Chip Clicked ( chip : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . chip Ġ= Ġchip ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġhas Chips Listener ( has Chips : ĠBoolean ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . has Chips Ġ= Ġhas Chips ĊĠĠĠ Ġ} Ċ } Ċ