In the Haxe manual we see an example where the interface contains 2 variables but the class that implements the interface also declares those variables:
interface Placeable {
public var x:Float;
public var y:Float;
}
class Main implements Placeable {
public var x:Float;
public var y:Float;
static public function main() { }
}
Was it necessary to do so?
Sounds very much like yes to me. Anyway, let's just give it a try:
yields
Bottom line: Yes, they have to be redeclared.