forked from mtcontrib/maidroid
[ADD] Add get_nearest_player method
This commit is contained in:
26
maidroid_core_basic/register.lua
Normal file
26
maidroid_core_basic/register.lua
Normal file
@ -0,0 +1,26 @@
|
||||
------------------------------------------------------------
|
||||
-- Copyright (c) 2016 tacigar. All rights reserved.
|
||||
-- https://github.com/tacigar/maidroid
|
||||
------------------------------------------------------------
|
||||
|
||||
local function on_start(self)
|
||||
|
||||
end
|
||||
|
||||
local function on_stop(self)
|
||||
|
||||
end
|
||||
|
||||
local function on_step(self, dtime)
|
||||
|
||||
end
|
||||
|
||||
maidroid.register_core("maidroid_core_basic:core_basic", {
|
||||
description = "maidroid core : basic",
|
||||
inventory_image = "maidroid_core_basic.png",
|
||||
on_start = on_start,
|
||||
on_stop = on_stop,
|
||||
on_resume = on_start,
|
||||
on_pause = on_stop,
|
||||
on_step = on_step,
|
||||
})
|
Reference in New Issue
Block a user