[ADD] Add get_nearest_player method

This commit is contained in:
tacigar
2016-09-13 19:02:53 +09:00
джерело 6f7b74445c
коміт 3210635e88
2 змінених файлів з 49 додано та 2 видалено

@@ -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,
})