type Mutatable() =
// one part of an algorithm, it is a basic simple action or sub goal
let mutable algKillSwitch = false
member this.Action(ear: string, skin: string, eye: string) =
// Your action logic here
()
member this.Completed() =
false
member this.Clone() =
Mutatable()
member this.MyName() =
// Returns the class name
this.GetType().Name
type APSay(repetitions: int, param: string) =
inherit Mutatable()
let mutable at = if repetitions > 10 then 10 else repetitions
override this.Action(ear: string, skin: string, eye: string) =
let mutable axnStr = ""
if at > 0 then
if not (ear.Equals(param, StringComparison.OrdinalIgnoreCase)) then
axnStr <- param
at <- at - 1
axnStr
override this.Completed() =
at < 1
override this.Clone() =
APSay(at, param)
I’m getting the error under :
override this.Action, override this.Completed() and override this.Clone()
it says no corresponding member found