コード例 #1
0
            public void UpdateThrowing(EntityKey entityKey, bool isThrow, float initVel)
            {
                ThrowingEntity throwing = _throwingContext.GetEntityWithEntityKey(entityKey);

                if (null != throwing)
                {
                    throwing.throwingData.IsThrow      = isThrow;
                    throwing.throwingData.InitVelocity = initVel;
                }
            }
コード例 #2
0
        public static void DestroyThrowing(EntityKey entityKey)
        {
            ThrowingEntity throwing = ThrowingContext.GetEntityWithEntityKey(entityKey);

            if (null != throwing)
            {
                throwing.isFlagDestroy = true;
            }
        }
コード例 #3
0
        public static void StartThrowingEntityFly(EntityKey entityKey, bool isThrow, float initVel)
        {
            ThrowingEntity throwing = ThrowingContext.GetEntityWithEntityKey(entityKey);

            if (null != throwing)
            {
                throwing.throwingData.IsThrow      = isThrow;
                throwing.throwingData.InitVelocity = initVel;
            }
        }
コード例 #4
0
 public static ThrowingEntity GetEntityWithEntityKey(EntityKey entityKey)
 {
     return(ThrowingContext.GetEntityWithEntityKey(entityKey));
 }