28 virtual void BeginPlay()
override;
32 virtual void Tick(
float DeltaTime)
override;
37 UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
38 class UBoxComponent* FoodCollision;
40 UPROPERTY(VisibleAnywhere, BlueprintReadWrite)
41 class UBoxComponent* SubmitCollision;
44 void BeginFoodOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex,
bool bFromSweep, const FHitResult& SweepResult);
47 void BeginSubmitOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex,
bool bFromSweep, const FHitResult& SweepResult);
49 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Teleport")
54 bool IsOnceStopped = false;
58 UPROPERTY(VisibleAnywhere,BlueprintReadOnly)
59 class
AFood* CurrentFoodContainer;
61 UPROPERTY(EditAnywhere)
66 UPROPERTY(EditAnywhere)
67 TArray<AActor*> ConveyorsToControl;
69 UFUNCTION(Server, Reliable)
70 void Server_DestroyListenAnswer(AActor* ActorToDestroy);
72 UFUNCTION(Server, Reliable)
73 void Server_MoveFoodContainer(AActor* ActorToMove);