增加文档
This commit is contained in:
@@ -1,23 +1,38 @@
|
||||
/*
|
||||
文件名:CharacterObject.nut
|
||||
路径:Game/ObjectClass/CharacterObject.nut
|
||||
创建日期:2025-10-03 02:50
|
||||
文件用途:
|
||||
*/
|
||||
/**
|
||||
* Description placeholder
|
||||
* @param {*} Object
|
||||
*/
|
||||
class CharacterObject extends ActiveObject {
|
||||
constructor(Object) {
|
||||
base.constructor(Object);
|
||||
}
|
||||
constructor(Object) {
|
||||
base.constructor(Object);
|
||||
}
|
||||
|
||||
function GetState() {
|
||||
return sq_GetState(C_Object);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @function
|
||||
* @returns {*}
|
||||
*/
|
||||
function GetState() {
|
||||
return sq_GetState(C_Object);
|
||||
}
|
||||
|
||||
function SetState(State) {
|
||||
sq_SetState(C_Object, State);
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @function
|
||||
* @param {integer} State
|
||||
* @returns {void}
|
||||
*/
|
||||
function SetState(State) {
|
||||
sq_SetState(C_Object, State);
|
||||
}
|
||||
|
||||
function SetAction(key) {
|
||||
sq_SetAction(C_Object, key);
|
||||
}
|
||||
}
|
||||
/**
|
||||
*
|
||||
* @function
|
||||
* @param {any} key
|
||||
* @returns {void}
|
||||
*/
|
||||
function SetAction(key) {
|
||||
sq_SetAction(C_Object, key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user