Serious-Engine/Sources/EntitiesMP/Terrain.es
2016-04-01 14:04:24 -04:00

28 lines
432 B
JavaScript

/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
108
%{
#include "EntitiesMP/StdH/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;
}
};