GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
Public Member Functions | List of all members
gd::HighestZOrderFinder Class Reference

Tool class picking returning the highest Z order of instances on a layer. More...

#include <InitialInstancesContainer.h>

Inherits gd::InitialInstanceFunctor.

Public Member Functions

virtual void operator() (gd::InitialInstance &instance)
 
void RestrictSearchToLayer (const gd::String &layerName_)
 Restrict to instances on the specified layer.
 
int GetHighestZOrder () const
 After calling the instances container iterate method with this functor, this method will return the highest Z order of the instances.
 
int GetLowestZOrder () const
 After calling the instances container iterate method with this functor, this method will return the lowest Z order of the instances.
 
size_t GetInstancesCount () const
 After calling the instances container iterate method with this functor, this method will return the number of instances.
 
void Reset ()
 

Detailed Description

Tool class picking returning the highest Z order of instances on a layer.

See also
gd::InitialInstanceFunctor
gd::InitialInstancesContainer

The documentation for this class was generated from the following files: