AStaticScholaEnvironment
class AStaticScholaEnvironment : public AAbstractScholaEnvironment
Dependencies: AAbstractScholaEnvironment, FTrainerAgentPair
Inherits from: public AAbstractScholaEnvironment
Subclassed by: ABlueprintStaticScholaEnvironment
Public Interface
Public Functions:
InternalRegisterAgents
virtual void InternalRegisterAgents(TArray<FTrainerAgentPair> &OutAgentTrainerPairs)
Register a list of agents with the environment, from a list of pawns with associated agents.
Called after the environment is initialized.
Parameters:
OutAgentTrainerPairs
(TArray<FTrainerAgentPair> &
) – [out] An array of Trainers and their controlled Pawns, representing all agents in the environment.
Attributes: virtual
Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h
(line 14, column 14)
Implementation: Schola/Source/Schola/Private/Environment/StaticEnvironment.cpp
(lines 5-21)
RegisterAgents
inline virtual void RegisterAgents(TArray<APawn *> &OutTrainerControlledPawns)
Parameters:
Name | Type | Default |
---|---|---|
OutTrainerControlledPawns | TArray<APawn *> & | “ |
Attributes: inline
, virtual
Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h
(line 17, column 14)
Used By: ABlueprintStaticScholaEnvironment
Source: Schola/Source/Schola/Public/Environment/StaticEnvironment.h
(line 8, column 1)