Tramway SDK
Namespaces | Functions
script.cpp File Reference
#include <framework/script.h>
#include <cstring>
#include <iostream>
#include <framework/core.h>
#include <framework/entity.h>
#include <framework/event.h>
#include <framework/ui.h>
#include <audio/audio.h>
#include <render/render.h>
#include <render/material.h>
#include <render/model.h>
#include <render/sprite.h>
#include <physics/physics.h>

Namespaces

namespace  tram
 
namespace  tram::Script
 

Functions

void tram::Script::SetGlobal (name_t name, value_t value)
 
value_t tram::Script::GetGlobal (name_t name)
 
void tram::Script::SetFunction (name_t name, std::vector< Type > parameters, value_t(*function)(valuearray_t))
 
value_t tram::Script::CallFunction (name_t name, std::vector< Value > parameters)
 
void tram::Script::SetLanguage (Language lang)
 
void tram::Script::LoadScript (const char *path)
 
void tram::Script::Init ()