Skip to content

Instantly share code, notes, and snippets.

@harry-jung
harry-jung / TickInGameInstance.cpp
Created June 11, 2018 05:06
Tick in GameInstance
//.h file
void Init() override;
void Shutdown() override;
bool Tick(float DeltaSeconds);
FDelegateHandle TickDelegateHandle;
def printPyramid(num):
matrix = list(map(lambda i: num-abs(i), list(range(num-1, -num, -1))))
for i in matrix:
print(''.join(str(e) for e in matrix[i-1:(len(matrix)-(i-1))]).center(len(matrix), ' '))
@harry-jung
harry-jung / Artie.rb
Last active August 29, 2015 14:19
Artie.rb
Class Artie
include Vehicle::Bike
include Vehicle::Car
fine_weather :ride_bike
nasty_weather :drive_car
private
def ride_bike
...