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