cgprojectsfx

ProcSolarSystem.cpp

Jul 1st, 2019
774
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #include "ProcSolarSystem.h"
  4.  
  5. UProcSolarSystem::UProcSolarSystem():Super()
  6. {
  7. }
  8.  
  9. void UProcSolarSystem::UGenerateTest()
  10. {
  11. // Earth like Terran
  12. UProcOrbital * planet = NewObject<UProcOrbital>(this, UProcOrbital::StaticClass());
  13.  
  14. // Make a planet earth
  15. planet->UMakeEarth();
  16.  
  17. // Add orbital to the solar system array
  18. Orbitals.Add(planet);
  19. }
  20.  
  21. UProcSolarSystem::~UProcSolarSystem()
  22. {
  23. }
Advertisement
Add Comment
Please, Sign In to add comment