Serious-Engine/Sources/EntitiesMP/Terrain.es
2016-03-11 15:57:17 +02:00

28 lines
416 B
JavaScript

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
108
%{
#include "StdH.h"
#include <Engine/Terrain/Terrain.h>
%}
class CTerrainEntity : CEntity {
name "Terrain";
thumbnail "Thumbnails\\Terrain.tbn";
properties:
components:
functions:
procedures:
Main()
{
// Init entity as terrain
InitAsTerrain();
TerrainChangeNotify();
SetCollisionFlags(ECF_BRUSH);
return;
}
};