Bonjour à tous!
Ce code ci :
Me génère l'erreur suivante : Cannot override a static method
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 TCaseCalcul = class public X,Y: Integer; Distance: Integer; Locked, Calculed: boolean; Voisines: array of PCaseCalcul; Constructor Create(PosX, PosY: integer); end; TCaseWay = class(TCaseCalcul) Public Selected: boolean; Constructor Create(PosX, PosY: integer); override; end;
Comment régler le problème ??
Merci d'avance !!
Partager