I am making a game. When I tried to make a subclass (rifleman) of the superclass (character) of the superclass (SKNode), I got this error when typing out the super.init.
How do I turn the Int.type into an Int? Why is this error even coming up in the first place?

The initializer is expecting an actual
Intvalue, not theInttype.For example:
You do not have to convert an
Int.typeto anInt. You just need to provide the values that the initializer expects.The compiler is presenting this error because it can determine based on the code you have written that the argument values have not been supplied in a manner that satisfies initializer's signature. If this error was not presented, your app would crash at runtime.