diff options
Diffstat (limited to 'src/simulation/elements/LOVE.cpp')
| -rw-r--r-- | src/simulation/elements/LOVE.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/simulation/elements/LOVE.cpp b/src/simulation/elements/LOVE.cpp index e15cea2..3e7b3d4 100644 --- a/src/simulation/elements/LOVE.cpp +++ b/src/simulation/elements/LOVE.cpp @@ -46,6 +46,20 @@ Element_LOVE::Element_LOVE() } +//#TPT-Directive ElementHeader Element_LOVE static int RuleTable[9][9] +int Element_LOVE::RuleTable[9][9] = +{ + {0,0,1,1,0,0,0,0,0}, + {0,1,0,0,1,1,0,0,0}, + {1,0,0,0,0,0,1,0,0}, + {1,0,0,0,0,0,0,1,0}, + {0,1,0,0,0,0,0,0,1}, + {1,0,0,0,0,0,0,1,0}, + {1,0,0,0,0,0,1,0,0}, + {0,1,0,0,1,1,0,0,0}, + {0,0,1,1,0,0,0,0,0}, +}; + //#TPT-Directive ElementHeader Element_LOVE static int update(UPDATE_FUNC_ARGS) int Element_LOVE::update(UPDATE_FUNC_ARGS) { |
