Serious-Engine/Sources/EntitiesMP/Terrain.es

28 lines
432 B
Erlang
Raw Normal View History

2016-03-11 14:57:17 +01:00
/* Copyright (c) 2002-2012 Croteam Ltd. All rights reserved. */
108
%{
2016-04-01 20:04:24 +02:00
#include "EntitiesMP/StdH/StdH.h"
2016-03-11 14:57:17 +01:00
#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;
}
};