package Ġworld . greg s . void ps . engine . entity . character . player Ċ Ċ interface ĠPlayer Requirement Ġ{ ĊĠĠĠ Ġfun Ġon Failure ( player : ĠPlayer ) ĊĠĠĠ Ġfun Ġmet ( player : ĠPlayer ): ĠBoolean Ċ } Ċ Ċ fun ĠPlayer . l acks ( requirement : ĠPlayer Requirement ): ĠBoolean Ġ{ ĊĠĠĠ Ġif Ġ(! requirement . met ( this )) Ġ{ ĊĠĠĠĠĠĠĠ Ġrequirement . on Failure ( this ) ĊĠĠĠĠĠĠĠ Ġreturn Ġtrue ĊĠĠĠ Ġ} ĊĠĠĠ Ġreturn Ġfalse Ċ } Ċ Ċ fun ĠPlayer . me ets ( requirement : ĠPlayer Requirement ) Ġ= Ġ! l acks ( requirement )