15 #ifndef EGGANIMPRELOAD_H
16 #define EGGANIMPRELOAD_H
18 #include "pandabase.h"
29 INLINE EggAnimPreload(
const EggAnimPreload ©);
30 INLINE EggAnimPreload &operator = (
const EggAnimPreload ©);
32 INLINE
void set_fps(
double fps);
33 INLINE
void clear_fps();
34 INLINE
bool has_fps()
const;
35 INLINE
double get_fps()
const;
37 INLINE
void set_num_frames(
int num_frames);
38 INLINE
void clear_num_frames();
39 INLINE
bool has_num_frames()
const;
40 INLINE
int get_num_frames()
const;
42 virtual void write(ostream &out,
int indent_level)
const;
54 static void init_type() {
56 register_type(_type_handle,
"EggAnimPreload",
57 EggNode::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
68 #include "eggAnimPreload.I"
This corresponds to an <AnimPreload> entry.
A base class for things that may be directly added into the egg hierarchy.
TypeHandle is the identifier used to differentiate C++ class types.