<#texture description#>
Initializer
init(texture:name:position:size:anchorPoint:zPosition:gameScene:allowedTimesToHit:offsetHealthBar:useGravity:)
<#Description#>
Declaration
@MainActor init(texture: SKTexture, name: String, position: CGPoint, size: CGSize = CGSize.zero, anchorPoint: CGPoint, zPosition: CGFloat, gameScene: AppSharedSceneBase, allowedTimesToHit: Int = 1, offsetHealthBar: CGPoint = .zero, useGravity: Bool = false)
Parameters
texture-
name-
<#name description#>
position-
<#position description#>
size-
<#size description#>
anchorPoint-
<#anchorPoint description#>
zPosition-
<#zPosition description#>
gameScene-
<#gameScene description#>
allowedTimesToHit-
<#allowedTimesToHit description#>
offsetHealthBar-
<#offsetHealthBar description#>
useGravity-
<#useGravity description#>