mirror of
https://github.com/antopilo/Nuake.git
synced 2026-01-01 05:48:14 +03:00
15 lines
308 B
Plaintext
15 lines
308 B
Plaintext
import "Nuake:Scene" for Scene
|
|
|
|
class ScriptableEntity {
|
|
SetEntityId(id) {
|
|
_EntityID = id
|
|
}
|
|
|
|
GetComponent(component) {
|
|
return Scene.EntityGetComponent(_EntityID, component)
|
|
}
|
|
|
|
HasComponent(component) {
|
|
return Scene.EntityHasComponent(_EntityID, component)
|
|
}
|
|
} |