mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 22:17:31 +00:00
e524b86e12
* breakout the component types into a scoped enum tested that things are the same as they were before * fix missed rename * fix brick-by-brick name to be crafting because that's what it is
18 lines
389 B
C++
18 lines
389 B
C++
#include "AgStromlingProperty.h"
|
|
#include "MovementAIComponent.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
void AgStromlingProperty::OnStartup(Entity* self) {
|
|
auto movementInfo = MovementAIInfo{
|
|
"Wander",
|
|
71,
|
|
3,
|
|
100,
|
|
1,
|
|
4
|
|
};
|
|
|
|
auto* movementAIComponent = new MovementAIComponent(self, movementInfo);
|
|
self->AddComponent(eReplicaComponentType::MOVEMENT_AI, movementAIComponent);
|
|
}
|