[ADD] Add get_nearest_player method

This commit is contained in:
tacigar
2016-09-13 19:02:53 +09:00
parent 6f7b74445c
commit 3210635e88
2 changed files with 49 additions and 2 deletions

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