mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-25 11:45:53 +01:00
28 lines
416 B
Erlang
28 lines
416 B
Erlang
|
/* 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;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
|