BGE: New Property sensor evaluation types
This patch adds "Less Than" and "Greater Than" evaluation types to the property sensor. The Wiki Docs modifications http://wiki.blender.org/index.php/User:Lordloki/Doc:2.6/Manual/Game_Engine/Logic/Sensors/Property Also, I have attached a screenshot and a blend to check. Reviewers: dfelinto, moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D476
This commit is contained in:
@@ -298,6 +298,13 @@ double CIntValue::GetNumber()
|
||||
|
||||
|
||||
|
||||
int CIntValue::GetValueType()
|
||||
{
|
||||
return VALUE_INT_TYPE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const STR_String & CIntValue::GetText()
|
||||
{
|
||||
if (!m_pstrRep)
|
||||
|
||||
Reference in New Issue
Block a user