Objective-C/fox2 Shared/GPKComponents/AAPLScaredComponent.h
/* |
Copyright (C) 2018 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
Behavior that is used by enemies when they become frightened by the player. |
*/ |
#import <GameplayKit/GameplayKit.h> |
#import "AAPLBaseComponent.h" |
#import "AAPLPlayerComponent.h" |
@interface AAPLScaredComponent : AAPLBaseComponent |
@property AAPLPlayerComponent *player; |
@property GKInspectable float fleeDistance; |
@property GKInspectable float fleeSpeed; |
@property GKInspectable float wanderSpeed; |
@property GKInspectable float mass; |
@property GKInspectable float maxAcceleration; |
@end |
Copyright © 2018 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2018-04-05